* HACKING: Document that "config.h" should be included first.

This commit is contained in:
Alexandre Duret-Lutz 2018-02-23 11:20:55 +01:00
parent e4b8cd3fe4
commit d08ca97624

View file

@ -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
-----------------