Merge pull request #2 from tazza-d/master
Small changes to make compilable on non-Windows OS
This commit is contained in:
commit
ca244c3de1
7
main.cpp
7
main.cpp
@ -3,8 +3,13 @@
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <unistd.h>
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <freeimage.h>
|
||||
#else
|
||||
#include <limits.h>
|
||||
#define MAX_PATH PATH_MAX
|
||||
#endif
|
||||
#include <FreeImage.h>
|
||||
|
||||
#include "tim.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user