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:
Martin Storsjö 2014-01-23 18:54:58 +02:00
parent 109fecc547
commit 0339cd51c5

View File

@ -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))