0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

gcc warns about #pragma once in pch files

This commit is contained in:
Mathias Stearn 2010-07-28 23:05:47 -04:00
parent a8c671e058
commit 835cd44d80

5
pch.h
View File

@ -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