Skip to content

Commit

Permalink
Fix build against old wine
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 21, 2024
1 parent 362f031 commit bbe949c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions source/includes/vestige/vestige.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,16 @@
* Boston, MA 02110-1301 USA.
*
*/
#include <stdint.h>

#ifndef _VESTIGE_H
#define _VESTIGE_H

#if ! (defined(WIN32) || defined(_WIN32) || defined(__WIN32__))
#include <stdint.h>

#if defined(__WINE__)
# undef __cdecl
# define __cdecl __attribute__((ms_abi))
#elif ! (defined(WIN32) || defined(_WIN32) || defined(__WIN32__))
# define __cdecl
#endif

Expand Down

0 comments on commit bbe949c

Please sign in to comment.