|
-
March 12th, 2008, 07:32 AM
#1
if !defined( _WIN32 )
i have a problem:
my code was mostly compiled on unix machines.
now we want to compile it on windows machines.
However, we have a first problem: unistd.h seems not to be available via visual studio/windows.
So I put that include-statement within the following #if-block:
#if !defined( _WIN32 )
#include <unistd.h>
#endif
Is this the best i could have done in this case?
thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|