diff options
author | David Robillard <d@drobilla.net> | 2023-02-10 12:33:21 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-02-10 12:33:21 -0500 |
commit | 929509da52da29ce4d211ad488e580761885bfb0 (patch) | |
tree | daa8aff94020ac085882f104d8ddfcd714ac75f9 /src/x11.c | |
parent | ed56e89f4c447b37e8a18127f499cd74610fc393 (diff) | |
download | pugl-929509da52da29ce4d211ad488e580761885bfb0.tar.gz pugl-929509da52da29ce4d211ad488e580761885bfb0.tar.bz2 pugl-929509da52da29ce4d211ad488e580761885bfb0.zip |
Factor out macros
Diffstat (limited to 'src/x11.c')
-rw-r--r-- | src/x11.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -7,6 +7,7 @@ #include "attributes.h" #include "internal.h" +#include "macros.h" #include "platform.h" #include "types.h" @@ -43,14 +44,6 @@ #include <time.h> #include <unistd.h> -#ifndef MIN -# define MIN(a, b) (((a) < (b)) ? (a) : (b)) -#endif - -#ifndef MAX -# define MAX(a, b) (((a) > (b)) ? (a) : (b)) -#endif - #ifdef __cplusplus # define PUGL_INIT_STRUCT \ {} |