Changeset View
Changeset View
Standalone View
Standalone View
b/src/mkheader.c
| Context not available. | |||||
| } | } | ||||
| else if (!strcmp (tag, "include:lock-obj")) | else if (!strcmp (tag, "include:lock-obj")) | ||||
| { | { | ||||
| #if 0 | |||||
| if (try_include_file (fname, lnr, "./lock-obj-pub.native.h", write_line)) | if (try_include_file (fname, lnr, "./lock-obj-pub.native.h", write_line)) | ||||
| include_file (fname, lnr, "syscfg/lock-obj-pub.&.h", write_line); | include_file (fname, lnr, "syscfg/lock-obj-pub.&.h", write_line); | ||||
| #else | |||||
| write_line("#include <pthread.h>"); | |||||
| write_line("#define gpgrt_lock_t pthread_mutex_t"); | |||||
| write_line("#define GPGRT_LOCK_INITIALIZER PTHREAD_MUTEX_INITIALIZER"); | |||||
| #endif | |||||
| } | } | ||||
| else | else | ||||
| return 0; /* Unknown tag. */ | return 0; /* Unknown tag. */ | ||||
| Context not available. | |||||