Ver código fonte

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

pull/5366/head
Jeffery Myers 2 meses atrás
committed by GitHub
pai
commit
90af210712
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: B5690EEEBB952194
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      src/platforms/rcore_desktop_win32.c

+ 2
- 0
src/platforms/rcore_desktop_win32.c Ver arquivo

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

Carregando…
Cancelar
Salvar