manage stl includes

This commit is contained in:
Garux
2021-10-31 12:38:53 +03:00
parent 512f0a959b
commit b0b997e493
73 changed files with 120 additions and 126 deletions

View File

@@ -33,7 +33,7 @@ bool open_url( const char* url ){
#endif
#if defined( __linux__ ) || defined( __FreeBSD__ )
#include <stdlib.h>
#include <cstdlib>
bool open_url( const char* url ){
char command[2 * PATH_MAX];
snprintf( command, sizeof( command ),
@@ -43,7 +43,7 @@ bool open_url( const char* url ){
#endif
#ifdef __APPLE__
#include <stdlib.h>
#include <cstdlib>
bool open_url( const char* url ){
char command[2 * PATH_MAX];
snprintf( command, sizeof( command ), "open \"%s\" &", url );