mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32:29 +00:00
parent
4d3195f57a
commit
b16b332539
70 changed files with 532 additions and 1047 deletions
9
third_party/lua/luaconf.h
vendored
9
third_party/lua/luaconf.h
vendored
|
@ -4,13 +4,15 @@
|
|||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
|
||||
#ifndef luaconf_h
|
||||
#define luaconf_h
|
||||
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
#define LUA_USE_POSIX
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/limits.h"
|
||||
#include "third_party/gdtoa/gdtoa.h"
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
/*
|
||||
** ===================================================================
|
||||
|
@ -643,7 +645,6 @@
|
|||
|
||||
#if !defined(LUA_USE_C89) && defined(__STDC_VERSION__) && \
|
||||
__STDC_VERSION__ >= 199901L
|
||||
#include <stdint.h>
|
||||
#if defined(INTPTR_MAX) /* even in C99 this type is optional */
|
||||
#undef LUA_KCONTEXT
|
||||
#define LUA_KCONTEXT intptr_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue