summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2016-01-12 21:37:13 +0100
committerWerner Lemberg <wl@gnu.org>2016-01-12 21:37:13 +0100
commit37412ff9f42212bcf4dd29d9762f3c35b5735768 (patch)
treebc2f7e4f059fbd251168a955666af83ad91a0918 /docs
parentf53bab9381a5e2ea4e90fa78c60bad6d732283b5 (diff)
downloadfreetype2-37412ff9f42212bcf4dd29d9762f3c35b5735768.tar.gz
Don't use macro names that contain `__' [1/2].
Such macro names are reserved for both C and C++. */*: Replace macros of the form `__XXX_H__' with `XXX_H_'.
Diffstat (limited to 'docs')
-rw-r--r--docs/CUSTOMIZE6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/CUSTOMIZE b/docs/CUSTOMIZE
index 42fc31381..51d769f38 100644
--- a/docs/CUSTOMIZE
+++ b/docs/CUSTOMIZE
@@ -117,15 +117,15 @@ IV. Overriding default configuration and module headers
name the configuration headers. To do so, you need a custom
`ft2build.h' whose content can be as simple as:
- #ifndef __FT2_BUILD_MY_PLATFORM_H__
- #define __FT2_BUILD_MY_PLATFORM_H__
+ #ifndef FT2_BUILD_MY_PLATFORM_H_
+ #define FT2_BUILD_MY_PLATFORM_H_
#define FT_CONFIG_OPTIONS_H <custom/my-ftoption.h>
#define FT_CONFIG_MODULES_H <custom/my-ftmodule.h>
#include <freetype/config/ftheader.h>
- #endif /* __FT2_BUILD_MY_PLATFORM_H__ */
+ #endif /* FT2_BUILD_MY_PLATFORM_H_ */
Place those files in a separate directory, e.g.,