X-Git-Url: http://git.silcnet.org/gitweb/?p=runtime.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcruntime.h.in;h=a80d383285161d633f3b6e7d7bdcf32eca33e81c;hp=1c8ad88661ecdd1d4cce17dcea27cdbf28461d36;hb=2ede5da9520e7e8508ae28656d542824c4c29793;hpb=0e5c6a2c995a3e33a7e5ce1120db16474783c1c4 diff --git a/lib/silcutil/silcruntime.h.in b/lib/silcutil/silcruntime.h.in index 1c8ad886..a80d3832 100644 --- a/lib/silcutil/silcruntime.h.in +++ b/lib/silcutil/silcruntime.h.in @@ -99,12 +99,21 @@ extern "C" { #include #endif -#if defined(HAVE_SILCDEFS_H) +#ifndef DLLAPI +#define DLLAPI +#endif + +/* We except all systems to have these include files */ +#include +#include +#include + +#if defined(HAVE_RUNTIMEDEFS_H) /* Automatically generated configuration header. These are included only when the SILC Runtime Toolkit itself is compiled. */ #ifndef SILC_SYMBIAN -#include "silcdefs.h" +#include "runtimedefs.h" #else #include "../../symbian/silcdefs.h" #endif /* SILC_SYMBIAN */ @@ -168,7 +177,18 @@ extern "C" { #define SILC_ALIGNMENT SILC_SIZEOF_VOID_P #endif /* SILC_ALIGNMENT */ -#endif /* HAVE_SILCDEFS_H */ +#endif /* HAVE_RUNTIMEDEFS_H */ + +/* Feature defines */ +#ifdef __SILC_HAVE_PTHREAD +#undef SILC_THREADS +#define SILC_THREADS 1 +#endif /* __SILC_HAVE_PTHREAD */ + +#ifdef __SILC_ENABLE_DEBUG +#undef SILC_DEBUG +#define SILC_DEBUG 1 +#endif /* __SILC_ENABLE_DEBUG */ /* SILC Runtime Toolkit includes */ #include