Skip to content

Commit

Permalink
Unix|libdeng: Attempting to fix uint/ushort declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 30, 2012
1 parent bbc840f commit 4fb8eec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions doomsday/libdeng/include/de/types.h
Expand Up @@ -89,10 +89,11 @@ typedef unsigned long long uintmax_t;

#endif

#ifndef UNIX
#ifndef MACOSX
typedef unsigned int uint;
typedef unsigned short ushort;
#else
#endif
#ifdef UNIX
# include <sys/types.h>
#endif

Expand Down
2 changes: 1 addition & 1 deletion doomsday/libdeng/src/concurrency.cpp
Expand Up @@ -170,7 +170,7 @@ int Sys_WaitThread(thread_t handle, int timeoutMs, systhreadexitstatus_t* exitSt
return t->exitValue();
}

uint32_it Sys_ThreadId(thread_t handle)
uint32_t Sys_ThreadId(thread_t handle)
{
QThread* t = reinterpret_cast<QThread*>(handle);
if(!t) t = QThread::currentThread();
Expand Down

0 comments on commit 4fb8eec

Please sign in to comment.