summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/fxcrt_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxcrt/fxcrt_posix.h')
-rw-r--r--core/src/fxcrt/fxcrt_posix.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/src/fxcrt/fxcrt_posix.h b/core/src/fxcrt/fxcrt_posix.h
index 89162cd037..8c716cd6d6 100644
--- a/core/src/fxcrt/fxcrt_posix.h
+++ b/core/src/fxcrt/fxcrt_posix.h
@@ -4,9 +4,11 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _FXCRT_LINUX_
-#define _FXCRT_LINUX_
+#ifndef CORE_SRC_FXCRT_FXCRT_POSIX_H_
+#define CORE_SRC_FXCRT_FXCRT_POSIX_H_
+
#include "extension.h"
+
#if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ || _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ || _FXM_PLATFORM_ == _FXM_PLATFORM_ANDROID_
class CFXCRT_FileAccess_Posix : public IFXCRT_FileAccess
{
@@ -30,4 +32,5 @@ protected:
FX_INT32 m_nFD;
};
#endif
-#endif
+
+#endif // CORE_SRC_FXCRT_FXCRT_POSIX_H_