Made compilable for non-Windows targets
This commit is contained in:
parent
f6cf4c0e84
commit
a836292b16
7
main.cpp
7
main.cpp
@ -3,8 +3,13 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <FreeImage.h>
|
||||||
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <freeimage.h>
|
#else
|
||||||
|
#include <limits.h>
|
||||||
|
#define MAX_PATH PATH_MAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "tim.h"
|
#include "tim.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user