mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-04 02:29:49 -06:00
Fixed predefined macros for Windows.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user