Browse Source

Fix build against old wine

Signed-off-by: falkTX <falktx@falktx.com>
pull/1933/head
falkTX 1 month ago
parent
commit
bbe949ccd8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      source/includes/vestige/vestige.h

+ 7
- 2
source/includes/vestige/vestige.h View File

@@ -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



Loading…
Cancel
Save