protect with <isc/lang.h> and ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user