protect with <isc/lang.h> and ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS

This commit is contained in:
Michael Graff 1999-09-24 23:24:51 +00:00
parent 1a1999555d
commit e141888b93

View file

@ -20,8 +20,11 @@
#include <windows.h>
#include <isc/lang.h>
#include <isc/result.h>
ISC_LANG_BEGINDECLS
typedef CRITICAL_SECTION isc_mutex_t;
#define isc_mutex_init(mp) \
@ -35,4 +38,6 @@ typedef CRITICAL_SECTION isc_mutex_t;
#define isc_mutex_destroy(mp) \
(DeleteCriticalSection((mp)), ISC_R_SUCCESS)
ISC_LANG_ENDDECLS
#endif /* ISC_MUTEX_H */