Made compilable for non-Windows targets
This commit is contained in:
parent
2618c8e8b0
commit
7f2d42428b
2
main.cpp
2
main.cpp
@ -3,13 +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
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#define MAX_PATH PATH_MAX
|
#define MAX_PATH PATH_MAX
|
||||||
#endif
|
#endif
|
||||||
|
#include <FreeImage.h>
|
||||||
|
|
||||||
#include "tim.h"
|
#include "tim.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user