Lock EFIXME and error_string() behind a #define
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2022-12-18 18:14:48 +01:00
parent a08310ff5e
commit 00cf267ac7
Signed by: apio
GPG Key ID: B8A7D06E42258954
3 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#define _LUNA_SYSTEM_ERROR_EXTENSIONS
#include <luna/Check.h>
#include <luna/Move.h>
#include <luna/Option.h>

View File

@ -54,7 +54,10 @@
#define ETIMEDOUT 110 // Connection timed out
#define EALREADY 114 // Operation already in progress
#if defined(IN_MOON) || defined(USE_FREESTANDING) || defined(_LUNA_SYSTEM_ERROR_EXTENSIONS)
// This one is Luna-specific.
#define EFIXME 342 // Functionality not yet implemented
const char* error_string(int error);
#endif

View File

@ -1,3 +1,4 @@
#define _LUNA_SYSTEM_ERROR_EXTENSIONS
#include <luna/Alignment.h>
#include <luna/CString.h>
#include <luna/NumberParsing.h>