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

Side by Side Diff: third_party/WebKit/Source/config.h

Issue 1369133002: Remove unused macros from config.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/DateMath.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc. 2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Copyright (C) 2007-2009 Torch Mobile, Inc. 4 * Copyright (C) 2007-2009 Torch Mobile, Inc.
5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #else 90 #else
91 #define WTF_USE_ICCJPEG 1 91 #define WTF_USE_ICCJPEG 1
92 #define WTF_USE_QCMSLIB 1 92 #define WTF_USE_QCMSLIB 1
93 #endif 93 #endif
94 94
95 #if OS(MACOSX) 95 #if OS(MACOSX)
96 #define WTF_USE_CF 1 96 #define WTF_USE_CF 1
97 #endif /* OS(MACOSX) */ 97 #endif /* OS(MACOSX) */
98 98
99 #if OS(POSIX) 99 #if OS(POSIX)
100 #define HAVE_SIGNAL_H 1
101 #define HAVE_SYS_TIME_H 1
102 #define WTF_USE_PTHREADS 1 100 #define WTF_USE_PTHREADS 1
103 #endif /* OS(POSIX) */ 101 #endif /* OS(POSIX) */
104 102
105 #if !OS(WIN) && !OS(ANDROID)
106 #define HAVE_TM_GMTOFF 1
107 #define HAVE_TM_ZONE 1
108 #define HAVE_TIMEGM 1
109 #endif
110
111 #if OS(MACOSX) 103 #if OS(MACOSX)
112 #define WTF_USE_NEW_THEME 1 104 #define WTF_USE_NEW_THEME 1
113 #endif /* OS(MACOSX) */ 105 #endif /* OS(MACOSX) */
114 106
115 #if OS(WIN) 107 #if OS(WIN)
116 108
117 // If we don't define these, they get defined in windef.h. 109 // If we don't define these, they get defined in windef.h.
118 // We want to use std::min and std::max. 110 // We want to use std::min and std::max.
119 #ifndef max 111 #ifndef max
120 #define max max 112 #define max max
121 #endif 113 #endif
122 #ifndef min 114 #ifndef min
123 #define min min 115 #define min min
124 #endif 116 #endif
125 117
126 #endif /* OS(WIN) */ 118 #endif /* OS(WIN) */
127 119
128 #ifdef __cplusplus 120 #ifdef __cplusplus
129 121
130 // These undefs match up with defines in build/mac/Prefix.h for Mac OS X. 122 // These undefs match up with defines in build/mac/Prefix.h for Mac OS X.
131 // Helps us catch if anyone uses new or delete by accident in code and doesn't i nclude "config.h". 123 // Helps us catch if anyone uses new or delete by accident in code and doesn't i nclude "config.h".
132 #undef new 124 #undef new
133 #undef delete 125 #undef delete
134 #include <ciso646> 126 #include <ciso646>
135 #include <cstddef> 127 #include <cstddef>
136 128
137 #endif 129 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/DateMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698