Changeset 3:e4ca2e057cec in xplcommon for src/xplcommon/Thread.h


Ignore:
Timestamp:
12/27/12 13:01:22 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Reorganized the code a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/Thread.h

    r1 r3  
    3434#include "config.h"
    3535
    36 #ifdef HAVE_WINDOWS_H
     36//------------------------------------------------------------------------------
    3737
    38 #include "Win32Thread.h"
     38#if TARGET_API_WIN32
    3939
    40 #else
     40#include "win32/Thread.h"
    4141
    42 #include "POSIXThread.h"
     42namespace xplcommon { typedef win32::Thread Thread; }
    4343
    44 #endif
     44//------------------------------------------------------------------------------
     45#else // TARGET_API_WIN32
     46//------------------------------------------------------------------------------
     47
     48#include "posix/Thread.h"
     49
     50namespace xplcommon { typedef posix::Thread Thread; }
     51
     52//------------------------------------------------------------------------------
     53
     54#endif // TARGET_API_WIN32
    4555
    4656//------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.