Migrate to OFOptionsParser

FossilOrigin-Name: f642e9dfbf67a6be7bf37d9df2cf3b037537a29c74387f49b0a0e82d6816d616
This commit is contained in:
Jonathan Schleifer 2025-03-02 14:42:43 +00:00
parent 1e8d1cfbef
commit 866e81fcde
12 changed files with 101 additions and 109 deletions

View file

@ -4,7 +4,7 @@
#include "tools.h"
@interface Cube: OFObject <OFApplicationDelegate>
@interface Cube : OFObject <OFApplicationDelegate>
@end
enum // block types, order matters!
@ -446,12 +446,12 @@ enum // function signatures for script functions, see command.cpp
#define ATOI(s) strtol(s, NULL, 0) // supports hexadecimal numbers
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#define _WINDOWS
#define ZLIB_DLL
# define WIN32_LEAN_AND_MEAN
# include "windows.h"
# define _WINDOWS
# define ZLIB_DLL
#else
#include <dlfcn.h>
# include <dlfcn.h>
#endif
#include <time.h>