Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: sky/engine/wtf/OperatingSystem.h

Issue 1205793002: Remove config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/wtf/MathExtras.h ('k') | sky/engine/wtf/PassRefPtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/wtf/OperatingSystem.h
diff --git a/sky/engine/config.h b/sky/engine/wtf/OperatingSystem.h
similarity index 88%
copy from sky/engine/config.h
copy to sky/engine/wtf/OperatingSystem.h
index 39df686bcd03bf67e8c97523688136e3f0845208..ba3c9471b68bf461e0024c04fa02f8350866e475 100644
--- a/sky/engine/config.h
+++ b/sky/engine/wtf/OperatingSystem.h
@@ -21,8 +21,8 @@
*
*/
-/* Include compiler specific macros */
-#include "sky/engine/wtf/Compiler.h"
+#ifndef SKY_ENGINE_WTF_OPERATING_SYSTEM_H_
+#define SKY_ENGINE_WTF_OPERATING_SYSTEM_H_
/* ==== Platform adaptation macros: these describe properties of the target environment. ==== */
@@ -80,18 +80,4 @@
#define WTF_USE_PTHREADS 1
#endif
-#if !OS(ANDROID)
-#define HAVE_TM_GMTOFF 1
-#define HAVE_TM_ZONE 1
-#define HAVE_TIMEGM 1
-#endif
-
-#ifdef __cplusplus
-
-// Helps us catch if anyone uses new or delete by accident in code and doesn't include "config.h".
-#undef new
-#undef delete
-#include <ciso646>
-#include <cstddef>
-
-#endif
+#endif // SKY_ENGINE_WTF_OPERATING_SYSTEM_H_
« no previous file with comments | « sky/engine/wtf/MathExtras.h ('k') | sky/engine/wtf/PassRefPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698