Open
Description
In optionals gravity_optionals.h
you will find the following (lines 12-14):
#ifndef GRAVITY_INCLUDE_MATH
#define GRAVITY_INCLUDE_MATH
#endif
So if moth hasn't been defined, then math is defined, if you use optionals, which are included by default. So the mere act of including gravity_optionals.h forces math to be included.
This is also true of GRAVITY_INCLUDE_JSON
, GRAVITY_INCLUDE_ENV
, and GRAVITY_INCLUDE_FILE
If they aren't optional, then there is no need for the #ifdef
s, if they are optional then you shouldn't force them. Either way this should probably be changed
Metadata
Metadata
Assignees
Labels
No labels