path_to_executable: only include unistd.h if not on windows.
This commit is contained in:
@@ -11,9 +11,11 @@
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
# include <windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
||||
IGL_INLINE std::string igl::path_to_executable()
|
||||
{
|
||||
// http://pastebin.com/ffzzxPzi
|
||||
|
||||
Reference in New Issue
Block a user