diff --git a/example/exm-header.h b/example/exm-header.h index 6779271b..03d0b144 100644 --- a/example/exm-header.h +++ b/example/exm-header.h @@ -2,9 +2,7 @@ #define MY_HEADER // Request M*LIB to not inline functions if not the library source -#ifndef M_USE_EXTERN_DEF #define M_USE_EXTERN_DECL -#endif #include "m-string.h" #include "m-array.h" diff --git a/example/exm-lib.c b/example/exm-lib.c index aba0530c..d40d8500 100644 --- a/example/exm-lib.c +++ b/example/exm-lib.c @@ -1,4 +1,5 @@ // Request M*LIB to define functions // This include both m-string functions and array_str templated functions +// Defining M_USE_EXTERN_DEF override M_USE_EXTERN_DECL definition #define M_USE_EXTERN_DEF #include "exm-header.h"