mirror of
https://github.com/decompals/wibo.git
synced 2025-12-13 23:26:17 +00:00
Various fixes for mwcc/mwld (#32)
* Override GetFileAttributesA for MWCC license.dat * Add WIN_FUNC to FileTimeToLocalFileTime * Use callee_pop_aggregate_return(0) * Lexically normalize paths
This commit is contained in:
2
common.h
2
common.h
@@ -8,7 +8,7 @@
|
||||
|
||||
// On Windows, the incoming stack is aligned to a 4 byte boundary.
|
||||
// force_align_arg_pointer will realign the stack to match GCC's 16 byte alignment.
|
||||
#define WIN_ENTRY __attribute__((force_align_arg_pointer))
|
||||
#define WIN_ENTRY __attribute__((force_align_arg_pointer, callee_pop_aggregate_return(0)))
|
||||
#define WIN_FUNC WIN_ENTRY __attribute__((stdcall))
|
||||
#define DEBUG_LOG(...) wibo::debug_log(__VA_ARGS__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user