updated platform defines

This commit is contained in:
Mark Vejvoda
2010-06-05 17:22:09 +00:00
parent 1d0836f0ba
commit 4ec55dd434

View File

@@ -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>