Skip to content
Snippets Groups Projects
Commit 28c361ba authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Re-enable rwlocks for Borland.

Since we can't bool anyway, may as well.
parent 6f5cf8b7
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
#include "rwlockwrap.h"
#if defined(__BORLANDC__)
// Do nothing...
#elif defined(_WIN32)
#if defined(_WIN32)
#include <stdlib.h>
......
......@@ -14,10 +14,6 @@ typedef pthread_rwlock_t rwlock_t;
#define rwlock_unlock(lock) (pthread_rwlock_unlock(lock) == 0)
#define rwlock_destroy(lock) (pthread_rwlock_destroy(lock) == 0)
#elif defined(__BORLANDC__)
// Not supported, but ignored...
#elif defined(_WIN32)
#include "gen_defs.h" // For windows.h and BOOL!! :(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment