Home » U++ Library support » U++ Core » Linux - Windows Mt.h/cpp [BUG?]
Linux - Windows Mt.h/cpp [BUG?] [message #1251] |
Fri, 24 February 2006 19:21 |
iplayfast
Messages: 47 Registered: February 2006
|
Member |
|
|
Just starting to use this system in Linux
Mt.h has an
#ifdef PLATFORM_POSIX
where inside it has inline functions for Enter and Leave
So far so good.
Mt.cpp
doesn't have
#ifdef PLATFORM_WIN32
and redefines the functions to be non-inline.
Wow! I just found the #endif autocomment feature. THAT IS SWEET!
In anycase insert #ifdef PLATFORM_WIN32 block inside the #ifdef #ifdef _MULTITHREADED block and that bug is gone.
[Updated on: Tue, 02 May 2006 11:15] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat Apr 26 09:45:50 CEST 2025
Total time taken to generate the page: 0.03319 seconds
|