mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 19:07:45 +03:00
Use #if instead of #ifdef for WLR_HAS_*
This commit is contained in:
parent
3b8d4a9212
commit
2afd930914
4 changed files with 14 additions and 22 deletions
|
@ -1,12 +1,7 @@
|
|||
#ifndef _SWAY_STRINGOP_H
|
||||
#define _SWAY_STRINGOP_H
|
||||
#include <stdlib.h>
|
||||
#include "list.h"
|
||||
|
||||
#if !HAVE_DECL_SETENV
|
||||
// Not sure why we need to provide this
|
||||
extern int setenv(const char *, const char *, int);
|
||||
#endif
|
||||
#include "list.h"
|
||||
|
||||
// array of whitespace characters to use for delims
|
||||
extern const char whitespace[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue