sst1, xdraw.asm: don't add _ prefix to exported symbol name with mingw.

Otherwise GNU toolchain fails with the error message:
   "Cannot export _grDrawTriangle@12: symbol not found"

Learning something everyday.
This commit is contained in:
sezero
2018-08-10 20:38:15 +03:00
parent b6d45d842c
commit da4d6857ba
2 changed files with 10 additions and 0 deletions

View File

@@ -248,8 +248,13 @@ segment TEXT
proc grDrawTriangle, 12
endp
%if XOS == XOS_WIN32
%ifdef __MINGW32__
; GNU LD fails with '_' prefix
export grDrawTriangle@12
%else
export _grDrawTriangle@12
%endif
%endif
; FALL THRU to _trisetup

View File

@@ -213,8 +213,13 @@ segment TEXT
proc grDrawTriangle, 12
endp
%if XOS == XOS_WIN32
%ifdef __MINGW32__
; GNU LD fails with '_' prefix
export grDrawTriangle@12
%else
export _grDrawTriangle@12
%endif
%endif
; FALL THRU to _trisetup