Skip to content

Commit b423a4e

Browse files
committed
Fix Win32 build
1 parent 8c314f5 commit b423a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function buildSDL() {
162162
PACKAGE_CFLAGS="${PACKAGE_CFLAGS} -D__USE_MINGW_ANSI_STDIO"
163163

164164
AC_DEFINE(_USE_MATH_DEFINES, 1, [for M_PI in math.h])
165-
AC_DEFINE(realpath(P, R), _fullpath((char *)P, R, PATH_MAX), [add missing realpath for system.cpp])
165+
AC_DEFINE(realpath(F, R), _fullpath(R, F, PATH_MAX), [add missing realpath for system.cpp])
166166

167167
dnl do not depend on cygwin.dll under cygwin build
168168
PACKAGE_CFLAGS="${PACKAGE_CFLAGS} -mms-bitfields"

0 commit comments

Comments
 (0)