Toggle navigation
EN
EN
DE
ES
FR
IT
UK
EN
DE
ES
FR
IT
UK
Help
Log In
Help
Log In
EN
EN
DE
ES
FR
IT
UK
EN
DE
ES
FR
IT
UK
Home
Messages
Hashtags
Subgroups
Calendar
×
×
×
Close
Likes
ocio-dev@lists.aswf.io
Messages
Review: Visual Studio 2010 compile fix Edit
×
Close
Search
Single
Toggle Dropdown
Messages
Topics
Expanded
Polls
previous page
#1150
next page
Re: Review: Visual Studio 2010 compile fix Edit
Richard Shaw <hobbe...@...>
#1150
I'm not sure if this is causing any issues:
diff --git a/src/core/PathUtils.cpp b/src/core/PathUtils.cpp
index a04ecee..4c944b1 100644
--- a/src/core/PathUtils.cpp
+++ b/src/core/PathUtils.cpp
@@ -49,10 +49,14 @@
#if defined(__APPLE__) && !defined(__IPHONE__)
#include <crt_externs.h> // _NSGetEnviron()
#elif !defined(WINDOWS)
-#include <unistd.h>
extern char **environ;
#endif
+#include <unistd.h>
+#if defined(__clang__)
+#include <unistd.h>
+#endif
Is it a problem to include the same header twice? I'm not sure what we
should be doing differently for clang.
Richard
More
previous page
View All 8 Messages In Topic
next page
previous page
#1150
next page
Join
{ocio-dev@lists.aswf.io to automatically receive all group messages.
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to ASWF Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of ocio-dev@lists.aswf.io?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
More Options
More
Home
Hashtags
Subgroups
Calendar
Terms
Toggle navigation
Terms
©
2023
Groups.io