remove locale code (no longer being set from the process runtime), specified in the build flags
This commit is contained in:
parent
6411af15a6
commit
f2fbe93b35
@ -143,12 +143,6 @@ struct Str8 {
|
|||||||
// String iterals in C include null-terminators, we aren't interested in preserving that.
|
// String iterals in C include null-terminators, we aren't interested in preserving that.
|
||||||
#define lit(string_literal) (Str8){ string_literal, size_of(string_literal) - 1 }
|
#define lit(string_literal) (Str8){ string_literal, size_of(string_literal) - 1 }
|
||||||
|
|
||||||
/*
|
|
||||||
We'll want all of our textual process to operate with UTF-8 code pages:
|
|
||||||
*/
|
|
||||||
#include <locale.h>
|
|
||||||
inline void set_utf8_codepage() { setlocale(LC_ALL, ".UTF-8"); }
|
|
||||||
|
|
||||||
// For now this string can visualized using a debugger.
|
// For now this string can visualized using a debugger.
|
||||||
#ifdef DEMO__STR_SLICE
|
#ifdef DEMO__STR_SLICE
|
||||||
int main()
|
int main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user