X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=debian%2Fjit-test.c;fp=debian%2Fjit-test.c;h=e476e08f853a1fcc76526d810b15de3706f64029;hb=fef6a04f189f791b9bee9f17797890b12fee495f;hp=0000000000000000000000000000000000000000;hpb=cba4af1b7643b0da036ff78fd152f74a906c4e97;p=pcre3.git diff --git a/debian/jit-test.c b/debian/jit-test.c new file mode 100644 index 0000000..e476e08 --- /dev/null +++ b/debian/jit-test.c @@ -0,0 +1,17 @@ +// This little program runs the macros in the SLJIT header file +// which auto-detect architecture. This enables us to only attempt +// to use SLJIT on architectures that support it +// +#define SLJIT_CONFIG_AUTO 1 +#include "../sljit/sljitConfigInternal.h" + +#ifndef SLJIT_CONFIG_UNSUPPORTED + #warning JIT enabled +#else + #error JIT not supported +#endif + +int main(void) +{ + return 0; +}