CTL icon indicating copy to clipboard operation
CTL copied to clipboard

CTL git does not compile on windows (part 2)

Open ggarra13 opened this issue 11 years ago • 0 comments

CtlInterpreter.cpp is missing several includes and uses the unportable lrand48() function.

Here are the includes I had to add to make it portable.

ifdef _WIN32

#include \<io.h\>
#include \<stdio.h\>
#include \<stdlib.h\>
#include \<time.h\>
#define snprintf _snprintf

else

#include \<unistd.h\>

endif

ggarra13 avatar Aug 18 '14 19:08 ggarra13