summaryrefslogtreecommitdiff
path: root/pch.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-07-28 23:05:47 -0400
committerMathias Stearn <mathias@10gen.com>2010-07-28 23:06:57 -0400
commit835cd44d8051081617ec0d8b4aad33befe4485ae (patch)
treecad2b9631955b7ed82abc49bafb0bd04a0be5f23 /pch.h
parenta8c671e058ee0e128a84b79305107d90757c3a20 (diff)
downloadmongo-835cd44d8051081617ec0d8b4aad33befe4485ae.tar.gz
gcc warns about #pragma once in pch files
Diffstat (limited to 'pch.h')
-rw-r--r--pch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pch.h b/pch.h
index fe3a5b82e5c..6f6ef418d9e 100644
--- a/pch.h
+++ b/pch.h
@@ -18,7 +18,8 @@
* limitations under the License.
*/
-#pragma once
+#ifndef MONGO_PCH_H
+#define MONGO_PCH_H
#if defined(MONGO_EXPOSE_MACROS)
# define JS_C_STRINGS_ARE_UTF8
@@ -165,3 +166,5 @@ namespace mongo {
using boost::uint64_t;
} // namespace mongo
+
+#endif // MONGO_PCH_H