(Blackberry) S_ISDIR would be broken if left undefined on Blackberry -

figure out what the deal is here
This commit is contained in:
twinaphex 2013-04-11 19:05:28 +02:00
parent 63020f42d7
commit ddd6acd4e2

View File

@ -24,8 +24,10 @@
#if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__) || defined(__BLACKBERRY_QNX__)
#include <unistd.h> //stat() is defined here
#ifndef __BLACKBERRY_QNX__
#define S_ISDIR(x) (x & CELL_FS_S_IFDIR)
#endif
#endif
#ifdef _XBOX
#include <xtl.h>