Skip to content

Commit aaf4c1d

Browse files
authored
always forward declare the windows stuff, prevents failure of rgfw in GCC. (#5269)
1 parent 2d7b66d commit aaf4c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
#endif
162162

163163
// Platform specific defines to handle GetApplicationDirectory()
164-
#if (defined(_WIN32) && !defined(PLATFORM_DESKTOP_RGFW)) || (defined(_MSC_VER) && defined(PLATFORM_DESKTOP_RGFW))
164+
#if (defined(_WIN32))
165165
#ifndef MAX_PATH
166166
#define MAX_PATH 1025
167167
#endif

0 commit comments

Comments
 (0)