Browse Source

Revert undesired change to rcore and restore correct win32 ifdef and max path (#5297)

Fixes #5293
also add comment for win32 platform.
master
Jeffery Myers 1 day ago
committed by GitHub
parent
commit
12dc0d6675
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      src/rcore.c

+ 6
- 2
src/rcore.c View File

@ -26,7 +26,8 @@
* - Linux DRM subsystem (KMS mode)
* > PLATFORM_ANDROID:
* - Android (ARM, ARM64)
*
* > PLATFORM_DESKTOP_WIN32 (Native Win32):
* - Windows (Win32, Win64)
* CONFIGURATION:
* #define SUPPORT_DEFAULT_FONT (default)
* Default font is loaded on window initialization to be available for the user to render simple text.
@ -161,7 +162,10 @@
#endif
// Platform specific defines to handle GetApplicationDirectory()
#if (defined(_WIN32) && !defined(PLATFORM_DESKTOP_RGFW)) || (defined(_MSC_VER) && defined(PLATFORM_DESKTOP_RGFW))
#if defined(_WIN32)
#if !defined(MAX_PATH)
#define MAX_PATH 260
#endif
struct HINSTANCE__;
#if defined(__cplusplus)

Loading…
Cancel
Save