From ae7b9a3bd3f54b5d0ba2db428944e38a3cd7b6a2 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 29 Dec 2013 20:41:36 +0200 Subject: Fix path change: compat/ -> extra/ --- docs/index.rst | 7 ++++--- 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}) -- cgit 1.2.3-korg