]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
prowizard: avoid duplicate htonl and _cdecl definitions
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 2 Jun 2026 23:59:00 +0000 (16:59 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 4 Jun 2026 05:33:24 +0000 (22:33 -0700)
commit3083f45b52ad3b5c50240e9d92d2e22c1677b5d9
treeda54386717e9e53f13e74fee056a0e4d6a0590fb
parentd6f7194ecf330672019bdc841652df54d77888c0
prowizard: avoid duplicate htonl and _cdecl definitions

Some hosts provide htonl as a macro through system headers. Avoid
redeclaring the Pro-Wizard helper in that case.

Also provide a no-op _cdecl definition for non-Windows builds so shared
Pro-Wizard declarations compile without Windows calling-convention
macros.
prowizard/include/extern.h
prowizard/include/globals.h
prowizard/misc/misc.c