diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-12-29 20:41:36 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-12-29 20:41:36 +0200 |
commit | ae7b9a3bd3f54b5d0ba2db428944e38a3cd7b6a2 (patch) | |
tree | 86de296ce7aad603bc1b5a040426f9bb4aa85044 | |
parent | 156139f11293691d97b06db826b7b8ff8327317b (diff) |
Fix path change: compat/ -> extra/
-rw-r--r-- | docs/index.rst | 7 | ||||
-rw-r--r-- | tests/SConstruct | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/index.rst b/docs/index.rst index 27840f7d..7bd1794e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -104,11 +104,12 @@ requires a few header files to be available: #) *stdbool.h*, for definition of *bool* If these header files do not come with your compiler, you can use the -file *compat/pb_syshdr.h* instead. It contains an example of how to provide +file *extra/pb_syshdr.h* instead. It contains an example of how to provide the dependencies. You may have to edit it a bit to suit your custom platform. -To use the pb_syshdr.h, define *PB_SYSTEM_HEADER* to be the name of your custom -header file. It should provide all the dependencies listed above. +To use the pb_syshdr.h, define *PB_SYSTEM_HEADER* as *"pb_syshdr.h"* (including the quotes). +Similarly, you can provide a custom include file, which should provide all the dependencies +listed above. Running the test cases ====================== diff --git a/tests/SConstruct b/tests/SConstruct index c1defe92..566b4793 100644 --- a/tests/SConstruct +++ b/tests/SConstruct @@ -52,7 +52,7 @@ if not env.GetOption('clean'): string = conf.CheckCHeader('string.h') if not stdbool or not stdint or not stddef or not string: conf.env.Append(CPPDEFINES = {'PB_SYSTEM_HEADER': '\\"pb_syshdr.h\\"'}) - conf.env.Append(CPPPATH = "#../compat") + conf.env.Append(CPPPATH = "#../extra") if stdbool: conf.env.Append(CPPDEFINES = {'HAVE_STDBOOL_H': 1}) if stdint: conf.env.Append(CPPDEFINES = {'HAVE_STDINT_H': 1}) |