X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fcolors.gperf;fp=src%2Fcolors.gperf;h=96d5b9e5debf7b21d53f9bbf4031228c038e3f4f;hb=21b4836ac9d6c6725590a925daa5d17eda9843e9;hp=89152d246dcb3e9db801683d99b065c6b7484b96;hpb=7ef85fcc24ca9220427d0276a7b60ed8ba40ff95;p=libsvgtiny.git diff --git a/src/colors.gperf b/src/colors.gperf index 89152d2..96d5b9e 100644 --- a/src/colors.gperf +++ b/src/colors.gperf @@ -16,6 +16,15 @@ #include #include "svgtiny.h" #include "svgtiny_internal.h" + +/* This unusual define shennanigan is to try and prevent the gperf + * generated function from being inlined. This is pointless given + * it (a) is in a separate .c file and (b) has external linkage. + */ +#ifdef __inline +#undef __inline +#define __inline +#endif %} struct svgtiny_named_color;