Changeset View
Changeset View
Standalone View
Standalone View
"b/M:\\repo\\mingw-w64-libgpg-error\\libgpg-error-1.15\\configure.ac
Context not available. | |||||
*** | *** | ||||
G10EOF | G10EOF | ||||
fi | fi | ||||
STR_TEST_FAILED=no | |||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[ | |||||
#include <windows.h> | |||||
typedef struct | |||||
{ | |||||
long _vers; | |||||
union { | |||||
volatile char _priv[8]; | |||||
long _x_align; | |||||
long *_xp_align; | |||||
} u; | |||||
} gpgrt_lock_t; | |||||
#pragma pack(push, 8) | |||||
typedef struct | |||||
{ | |||||
long vers; | |||||
volatile long initdone; | |||||
volatile long started; | |||||
CRITICAL_SECTION csec; | |||||
} _gpgrt_lock_t; | |||||
#pragma pack(pop) | |||||
int main() { | |||||
return (sizeof (gpgrt_lock_t) < sizeof (_gpgrt_lock_t)) ? 1 : 0; | |||||
} | |||||
]])],[ac_cv_sin_port_size=long],[STR_TEST_FAILED=yes],[]) | |||||
echo "TEST FAILED=$STR_TEST_FAILED" | |||||
if test $STR_TEST_FAILED == "yes"; then | |||||
AC_MSG_ERROR([[ | |||||
*** | |||||
*** STR_TEST_FAILED !!!! | |||||
***]]) | |||||
fi | |||||
No newline at end of file | |||||
Context not available. |