folly: replace old-style header guards with "pragma once"
[folly.git] / folly / Portability.h
index 7de1d8debaccf25e81cd074605cab513c776c7fa..c9616ea7caa23dcaa304007be149877249218b88 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
  * limitations under the License.
  */
 
-#ifndef FOLLY_PORTABILITY_H_
-#define FOLLY_PORTABILITY_H_
+#pragma once
 
 #include <string.h>
 
 
 #include <string.h>
 
@@ -365,5 +364,3 @@ using namespace FOLLY_GFLAGS_NAMESPACE;
 // we will take the next one.
 #define FOLLY_STATIC_CTOR_PRIORITY_MAX __attribute__((__init_priority__(102)))
 #endif
 // we will take the next one.
 #define FOLLY_STATIC_CTOR_PRIORITY_MAX __attribute__((__init_priority__(102)))
 #endif
-
-#endif // FOLLY_PORTABILITY_H_