From ddd6acd4e2def4fedd406af1d4277bd5a802e814 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 11 Apr 2013 19:05:28 +0200 Subject: [PATCH] (Blackberry) S_ISDIR would be broken if left undefined on Blackberry - figure out what the deal is here --- file_path.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/file_path.c b/file_path.c index 3c441c7717..82b83fb8d3 100644 --- a/file_path.c +++ b/file_path.c @@ -24,8 +24,10 @@ #if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__) || defined(__BLACKBERRY_QNX__) #include //stat() is defined here +#ifndef __BLACKBERRY_QNX__ #define S_ISDIR(x) (x & CELL_FS_S_IFDIR) #endif +#endif #ifdef _XBOX #include