Skip to content

Commit 95b4630

Browse files
committed
Fix build problems on windows.
1 parent 0cd6f1b commit 95b4630

9 files changed

Lines changed: 172 additions & 150 deletions

File tree

src/cache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef CACHE_H
22
#define CACHE_H
33

4-
#include <stdint.h>
54
#include <stdlib.h>
5+
#include <gpuarray/config.h>
66
#include "private_config.h"
77

88
typedef void *cache_key_t;

src/gen_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def add_type(name, C, sz):
7373
int16_t exp;
7474
uint16_t hi;
7575
uint32_t lo;
76-
};
76+
} s;
7777
uint128_t raw;
7878
} u;
7979
} ga_quad;

src/gpuarray_array.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
#include <assert.h>
66
#include <stdarg.h>
77
#include <stddef.h>
8-
#if _MSC_VER < 1600
9-
#include <stdint.h>
10-
#endif
118
#include <stdlib.h>
129
#include <string.h>
1310
#include <errno.h>
1411

1512
#include "private.h"
13+
#include "gpuarray/config.h"
1614
#include "gpuarray/array.h"
1715
#include "gpuarray/error.h"
1816
#include "gpuarray/kernel.h"

0 commit comments

Comments
 (0)