diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-07-28 23:05:47 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-07-28 23:06:57 -0400 |
commit | 835cd44d8051081617ec0d8b4aad33befe4485ae (patch) | |
tree | cad2b9631955b7ed82abc49bafb0bd04a0be5f23 /pch.h | |
parent | a8c671e058ee0e128a84b79305107d90757c3a20 (diff) | |
download | mongo-835cd44d8051081617ec0d8b4aad33befe4485ae.tar.gz |
gcc warns about #pragma once in pch files
Diffstat (limited to 'pch.h')
-rw-r--r-- | pch.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |