mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 15:41:24 +02:00
updated platform defines
This commit is contained in:
@@ -23,10 +23,12 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef S_ISDIR
|
#ifdef WIN32
|
||||||
|
#define S_ISDIR(mode) ((mode) & _S_IFDIR)
|
||||||
#define S_ISDIR(mode) ((mode) & _S_IFDIR)
|
#elif defined(__GNUC__)
|
||||||
|
|
||||||
|
#else
|
||||||
|
#error "Your compiler needs to support S_IFDIR!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
Reference in New Issue
Block a user