Unify the definition of WELS_THREAD_ERROR_CODE between libraries
This simplifies the code base, reduces the risk for mixups and gets rid of the use of a local nonstandard typedef.
This commit is contained in:
parent
109fecc547
commit
0339cd51c5
@ -71,7 +71,7 @@ typedef pthread_mutex_t WELS_MUTEX;
|
||||
|
||||
#endif
|
||||
|
||||
typedef long_t WELS_THREAD_ERROR_CODE;
|
||||
typedef int32_t WELS_THREAD_ERROR_CODE;
|
||||
|
||||
#define WELS_THREAD_ERROR_OK 0
|
||||
#define WELS_THREAD_ERROR_GENERAL ((unsigned long)(-1))
|
||||
|
Loading…
Reference in New Issue
Block a user