aboutsummaryrefslogtreecommitdiff
path: root/APEX_1.4/snippets/SnippetCommon
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
commitd1c812f1162e5fdb13c215792725b2591d7428f5 (patch)
tree407056c45c7e9320c48fca6a3697d81a061c4ea0 /APEX_1.4/snippets/SnippetCommon
parentPhysX 3.4, APEX 1.4 patch release @22121272 (diff)
downloadphysx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz
physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'APEX_1.4/snippets/SnippetCommon')
-rw-r--r--APEX_1.4/snippets/SnippetCommon/SnippetCommon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/APEX_1.4/snippets/SnippetCommon/SnippetCommon.h b/APEX_1.4/snippets/SnippetCommon/SnippetCommon.h
index b3cdfd57..29e51aa5 100644
--- a/APEX_1.4/snippets/SnippetCommon/SnippetCommon.h
+++ b/APEX_1.4/snippets/SnippetCommon/SnippetCommon.h
@@ -112,7 +112,7 @@ public:
virtual bool getInstanceLayoutData(uint32_t, uint32_t, UserRenderInstanceBufferDesc*) { return false; }
};
-#if PX_NX
+#if PX_SWITCH
#include <nn/fs.h>
#else
#include <sys/stat.h>
@@ -122,7 +122,7 @@ public:
// Check that path exist
bool isFileExist(const char* path)
{
-#if PX_NX
+#if PX_SWITCH
nn::fs::DirectoryEntryType t;
nn::Result r = nn::fs::GetEntryType(&t, path);
if (r.IsFailure() || t != nn::fs::DirectoryEntryType_File)
@@ -154,7 +154,7 @@ int main(int, char**)
return 0;
}
-#elif PX_NX
+#elif PX_SWITCH
#include <nn/os.h>
#include <nn/fs.h>