* HACKING: Document that "config.h" should be included first.
This commit is contained in:
parent
e4b8cd3fe4
commit
d08ca97624
1 changed files with 5 additions and 1 deletions
6
HACKING
6
HACKING
|
|
@ -320,12 +320,16 @@ Includes
|
|||
are distributed with Spot. Those can be from Spot itself, or from
|
||||
third-party libraries that we ship. E.g.,
|
||||
|
||||
#include "config.h"
|
||||
#include "utf8/utf8.hh"
|
||||
#include "spot/priv/trim.hh"
|
||||
#include "config.h"
|
||||
|
||||
This style of #include should never occur in public headers.
|
||||
|
||||
* "config.h" should be the first file included by any *.cc or *.c
|
||||
file, as it setups several macros for replacing missing functions.
|
||||
|
||||
|
||||
Exporting symbols
|
||||
-----------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue