Browse Source

include malloc.h so the win32 platform can build in MSVC (#5365)

pull/5366/head
Jeffery Myers 1 week ago
committed by GitHub
parent
commit
90af210712
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/platforms/rcore_desktop_win32.c

+ 2
- 0
src/platforms/rcore_desktop_win32.c View File

@ -72,6 +72,8 @@
#include <shellscalingapi.h>
#include <versionhelpers.h>
#include <malloc.h> // Required for alloca()
#if !defined(GRAPHICS_API_OPENGL_11_SOFTWARE)
#include <GL/gl.h>
#endif

Loading…
Cancel
Save