manage stl includes
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user