Fix windows build;

This commit is contained in:
bjorn 2019-04-05 06:01:12 -07:00
parent fa4f240b7b
commit 6e75ebafac
5 changed files with 7 additions and 0 deletions

View File

@ -303,7 +303,9 @@ set(LOVR_SRC
src/main.c
src/util.c
src/luax.c
src/types.c
src/api/lovr.c
src/lib/utf.c
src/lib/math.c
src/lib/map/map.c
src/lib/vec/vec.c

View File

@ -4,6 +4,7 @@
#include <AL/alc.h>
#include <AL/alext.h>
#include <stdbool.h>
#include <stdint.h>
#pragma once

View File

@ -4,6 +4,7 @@
#include "lib/stb/stb_vorbis.h"
#include <limits.h>
#include <stdlib.h>
#include <stdint.h>
SoundData* lovrSoundDataInit(SoundData* soundData, int samples, int sampleRate, int bitDepth, int channelCount) {
soundData->samples = samples;

View File

@ -7,6 +7,8 @@
#include "lib/glad/glad.h"
#endif
#include <stdint.h>
#pragma once
#define GPU_BUFFER_FIELDS \

View File

@ -1,4 +1,5 @@
#include "math/randomGenerator.h"
#include "util.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>