mirror of https://github.com/flysand7/ciabatta.git
included stdarg.h
This commit is contained in:
parent
67e15fbb4e
commit
be3b3a04b6
|
@ -0,0 +1,12 @@
|
||||||
|
@echo off
|
||||||
|
setlocal enabledelayedexpansion
|
||||||
|
|
||||||
|
set PLATFORM=win32
|
||||||
|
set CIABATTA_OPTIONS=--crt none -I %% -I inc
|
||||||
|
|
||||||
|
del ciabatta.lib
|
||||||
|
cuik %CIABATTA_OPTIONS% code\*.c platform\%PLATFORM%\*.c -c -o ciabatta.obj
|
||||||
|
lib /out:ciabatta.lib ciabatta.obj
|
||||||
|
|
||||||
|
cuik test\test.c --lib ciabatta.lib,kernel32.lib,user32.lib,shell32.lib %CIABATTA_OPTIONS%
|
||||||
|
del ciabatta.obj
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
// Microsoft uses this to refer to the secure functions so we'll allow it
|
// Microsoft uses this to refer to the secure functions so we'll allow it
|
||||||
#ifdef __STDC_WANT_SECURE_LIB__
|
#ifdef __STDC_WANT_SECURE_LIB__
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "_macros.h"
|
#include "_macros.h"
|
||||||
|
|
||||||
extern void _assert_error(char *cond, char const *func, char const *file, char const *line);
|
extern void _assert_error(char *cond, char const *func, char const *file, char const *line);
|
||||||
|
|
Loading…
Reference in New Issue