aboutsummaryrefslogtreecommitdiffstats
path: root/include/stringop.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-11-12 22:23:06 +0100
committerLibravatar emersion <contact@emersion.fr>2018-11-12 22:23:06 +0100
commit2afd930914c9d31ed1da5ffd80b18f029e84f8c5 (patch)
tree52157267467d84cd9ce83265ca4b600b1b802af1 /include/stringop.h
parentMerge pull request #3116 from harishkrupo/master (diff)
downloadsway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.tar.gz
sway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.tar.zst
sway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.zip
Use #if instead of #ifdef for WLR_HAS_*
Diffstat (limited to 'include/stringop.h')
-rw-r--r--include/stringop.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/stringop.h b/include/stringop.h
index 01bbdaa9..919e605c 100644
--- a/include/stringop.h
+++ b/include/stringop.h
@@ -1,12 +1,7 @@
1#ifndef _SWAY_STRINGOP_H 1#ifndef _SWAY_STRINGOP_H
2#define _SWAY_STRINGOP_H 2#define _SWAY_STRINGOP_H
3#include <stdlib.h>
4#include "list.h"
5 3
6#if !HAVE_DECL_SETENV 4#include "list.h"
7// Not sure why we need to provide this
8extern int setenv(const char *, const char *, int);
9#endif
10 5
11// array of whitespace characters to use for delims 6// array of whitespace characters to use for delims
12extern const char whitespace[]; 7extern const char whitespace[];