Skip to content
Snippets Groups Projects
Commit 4c0a337a 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 7eb100eb
Branches
Tags
No related merge requests found
Pipeline #5301 passed
#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.
Please register or to comment