summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingUtil.h')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingUtil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingUtil.h b/compiler-rt/lib/profile/InstrProfilingUtil.h
index 813b7dc7bb0..aa40e1c2f06 100644
--- a/compiler-rt/lib/profile/InstrProfilingUtil.h
+++ b/compiler-rt/lib/profile/InstrProfilingUtil.h
@@ -16,9 +16,9 @@
void __llvm_profile_recursive_mkdir(char *Pathname);
/* PS4 doesn't have getenv. Define a shim. */
-#if __PS4__
+#if __ORBIS__
static inline char *getenv(const char *name) { return NULL; }
-#endif /* #if __PS4__ */
+#endif /* #if __ORBIS__ */
int lprofGetHostName(char *Name, int Len);
OpenPOWER on IntegriCloud