mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 13:50:43 +02:00
added another #define for linux distors missing S_ISDIR
This commit is contained in:
@@ -17,14 +17,18 @@
|
||||
#include <sys/stat.h>
|
||||
#include <direct.h>
|
||||
|
||||
#define S_ISDIR(mode) ((mode) & _S_IFDIR)
|
||||
|
||||
#else
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef S_ISDIR
|
||||
|
||||
#define S_ISDIR(mode) ((mode) & _S_IFDIR)
|
||||
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <cassert>
|
||||
|
Reference in New Issue
Block a user