aboutsummaryrefslogtreecommitdiff
path: root/tests/stat/test_mknod.c
diff options
context:
space:
mode:
authorDan Gohman <sunfish@google.com>2014-02-24 08:46:38 -0800
committerDan Gohman <sunfish@google.com>2014-02-25 11:58:53 -0800
commit3317f2cd793893073619a87a462da26c505ba9eb (patch)
tree89929a716269220d19aa3c4b6d2cd8bbe13343b7 /tests/stat/test_mknod.c
parentc600155b1fef26a248d6467a89030328db0fedab (diff)
Use __EMSCRIPTEN__ instead of EMSCRIPTEN in tests.
Diffstat (limited to 'tests/stat/test_mknod.c')
-rw-r--r--tests/stat/test_mknod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stat/test_mknod.c b/tests/stat/test_mknod.c
index 361b2315..262c8a5f 100644
--- a/tests/stat/test_mknod.c
+++ b/tests/stat/test_mknod.c
@@ -32,7 +32,7 @@ void test() {
// than a FIFO. so, the tests are disabled when running
// natively as they'd be utterly inconsistent.
//
-#if EMSCRIPTEN
+#ifdef __EMSCRIPTEN__
// mknod a folder
err = mknod("mknod-folder", S_IFDIR | 0777, 0);