fix build failed.
All checks were successful
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 55s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 56s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m1s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m12s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m19s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m24s
linux-x64-gcc / linux-gcc (push) Successful in 1m32s
All checks were successful
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 55s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 56s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m1s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m12s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m19s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m24s
linux-x64-gcc / linux-gcc (push) Successful in 1m32s
This commit is contained in:
parent
ccd1f01e7c
commit
af26f99991
@ -17,7 +17,12 @@
|
||||
//
|
||||
// SPDX-License-Identifier: GPL-2.0-only or commercial
|
||||
|
||||
// fix miss CLOCK_REALTIME
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "mongoose.h"
|
||||
#include <time.h>
|
||||
#include <alloca.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef MG_ENABLE_LINES
|
||||
#line 1 "src/base64.c"
|
||||
|
@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
project(ulib LANGUAGES CXX C VERSION 0.1.0)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
Loading…
Reference in New Issue
Block a user