mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
First steps
This commit is contained in:
@@ -226,8 +226,12 @@ extern "C" byte *GetStackPtr64();
|
||||
#if defined(__llvm__) || defined(__clang__)
|
||||
#define GetStackPtr( pStackPtr ) byte *pStackPtr = (byte*)__builtin_frame_address(0)
|
||||
#else
|
||||
#if defined(__arm__)
|
||||
#define GetStackPtr( pStackPtr ) byte *pStackPtr = (byte*)__builtin_frame_address(0)
|
||||
#else
|
||||
#define GetStackPtr( pStackPtr ) register byte *pStackPtr __asm__( "esp" )
|
||||
#endif
|
||||
#endif
|
||||
#elif defined(__SNC__)
|
||||
#define GetStackPtr( pStackPtr ) byte *pStackPtr = (byte*)__builtin_frame_address(0)
|
||||
#else
|
||||
|
||||
@@ -152,6 +152,7 @@ $Project "vstdlib"
|
||||
{
|
||||
-$ImpLib vstdlib
|
||||
$Lib "coroutine_osx" [$OSXALL]
|
||||
$Lib "libiconv" [$ANDROID]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user