mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
[FRAMEDYN] Do not define GCC <-> MSVC aliases when building the DLL
This fixes some issue when compiling without optimizations on GCC
This commit is contained in:
parent
5508673dd5
commit
ea331f074c
2 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,8 @@
|
|||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#define CHSTRING_BUILD
|
||||
|
||||
#include <chstring.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
|
|
@ -196,7 +196,7 @@ inline BOOL operator>=(const CHString& s1, CHSTRING_LPCWSTR s2) { return s1.Comp
|
|||
inline BOOL operator>=(const CHString& s1, const CHString& s2) { return s1.Compare(s2) >= 0; }
|
||||
|
||||
/* Have GCC link to the symbols exported by framedyn.dll */
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(CHSTRING_BUILD)
|
||||
|
||||
#define DEFINE_FRAMEDYN_ALIAS(alias, orig) __asm__(".set " #alias ", \"" #orig "\"");
|
||||
|
||||
|
|
Loading…
Reference in a new issue