Fixed predefined macros for Windows.

This commit is contained in:
Jonathas Costa
2016-07-20 15:02:15 -04:00
parent 3fcf23f3cb
commit e5206cccb4

View File

@@ -1,7 +1,7 @@
#include <openspace/interaction/externalcontrol/randomexternalcontrol.h>
#include <cstdio>
#ifndef __WIN32__
#ifndef _WIN32
#include <unistd.h>
#endif
@@ -22,7 +22,7 @@ void *updatedx(void * arg) {
*dx = *dx + 0.5;
#ifndef __WIN32__
#ifndef _WIN32
// random sleep time
int diff = rand() % 200;