]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
libpts: Work around BASETSD_H define mismatch between MinGW and TSS
authorMartin Willi <martin@revosec.ch>
Wed, 8 Jan 2014 15:45:09 +0000 (16:45 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 4 Jun 2014 13:53:07 +0000 (15:53 +0200)
src/libpts/pts/pts.c

index 3bddc6c399a317dc92eeffd55be6d05146de2090..d2e24cbdb9755d32a1682d087caa5b75ffdacdef 100644 (file)
 #include <bio/bio_reader.h>
 
 #ifdef TSS_TROUSERS
+#ifdef _BASETSD_H_
+/* MinGW defines _BASETSD_H_, but TSS checks for _BASETSD_H */
+# define _BASETSD_H
+#endif
 #include <trousers/tss.h>
 #include <trousers/trousers.h>
 #else