Browse Source

Remove file access flags that arn't present in macintosh.

v0.7.4-release
Ryan 16 years ago
parent
commit
11b2e5dcc4
  1. 16
      src/constants.cc

16
src/constants.cc

@ -44,14 +44,6 @@ node::DefineConstants (Handle<Object> target)
NODE_DEFINE_CONSTANT(target, O_APPEND); NODE_DEFINE_CONSTANT(target, O_APPEND);
#endif #endif
#ifdef O_CLOEXEC
NODE_DEFINE_CONSTANT(target, O_CLOEXEC);
#endif
#ifdef O_DIRECT
NODE_DEFINE_CONSTANT(target, O_DIRECT);
#endif
#ifdef O_DIRECTORY #ifdef O_DIRECTORY
NODE_DEFINE_CONSTANT(target, O_DIRECTORY); NODE_DEFINE_CONSTANT(target, O_DIRECTORY);
#endif #endif
@ -60,14 +52,6 @@ node::DefineConstants (Handle<Object> target)
NODE_DEFINE_CONSTANT(target, O_EXCL); NODE_DEFINE_CONSTANT(target, O_EXCL);
#endif #endif
#ifdef O_LARGEFILE
NODE_DEFINE_CONSTANT(target, O_LARGEFILE);
#endif
#ifdef O_NOATIME
NODE_DEFINE_CONSTANT(target, O_NOATIME);
#endif
#ifdef O_NOFOLLOW #ifdef O_NOFOLLOW
NODE_DEFINE_CONSTANT(target, O_NOFOLLOW); NODE_DEFINE_CONSTANT(target, O_NOFOLLOW);
#endif #endif

Loading…
Cancel
Save