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