Move #undef ENABLE_PTHREAD_SUPPORT lower in appl/gssmask/common.h
This wasn't having the intended effect because after we #include config.h and #undef ENABLE_PTHREAD_SUPPORT we then #include other headers that also #include config.h. I've moved this lower so that it has the effect that appears to be intended but the correct answer may be to make it work but this will require #including pthread.h as the build fails with -Werror when pthread functions are called.
This commit is contained in:
@@ -37,13 +37,6 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* pthread support is disable because the pthread
|
||||
* test have no "application pthread libflags" variable,
|
||||
* when this is fixed pthread support can be enabled again.
|
||||
*/
|
||||
#undef ENABLE_PTHREAD_SUPPORT
|
||||
|
||||
#include <sys/param.h>
|
||||
#ifdef HAVE_SYS_UTSNAME_H
|
||||
#include <sys/utsname.h>
|
||||
@@ -65,6 +58,13 @@
|
||||
|
||||
#include "protocol.h"
|
||||
|
||||
/*
|
||||
* pthread support is disable because the pthread
|
||||
* test have no "application pthread libflags" variable,
|
||||
* when this is fixed pthread support can be enabled again.
|
||||
*/
|
||||
#undef ENABLE_PTHREAD_SUPPORT
|
||||
|
||||
krb5_error_code store_string(krb5_storage *, const char *);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user