0027350: Support for Universal Windows Platform
[occt.git] / src / Standard / Standard.cxx
index cf2ee42..e151412 100644 (file)
   extern "C" int posix_memalign (void** thePtr, size_t theAlign, size_t theSize);
 #endif
 
+// There is no support for environment variables in UWP
+// OSD_Environment could not be used here because of cyclic dependency
+#ifdef OCCT_UWP
+#define getenv(x) NULL
+#endif
+
 #ifndef OCCT_MMGT_OPT_DEFAULT
 #define OCCT_MMGT_OPT_DEFAULT 0
 #endif