Clean-up: fix '-Wundef' warnings on various platforms
[lttng-tools.git] / src / common / compat / poll.h
index 7a7842066bd977111cde429fe553d87c66fb3d13..f9fb33fc9f8c2405bac7f1b999d05f5385799bce 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2011 EfficiOS Inc.
  *
- * SPDX-License-Identifier: GPL-2.0-only
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
  */
 
@@ -235,7 +235,7 @@ enum {
        LPOLLRDBAND = POLLRDBAND,
        LPOLLWRNORM = POLLWRNORM,
        LPOLLWRBAND = POLLWRBAND,
-#if __linux__
+#ifdef __linux__
        LPOLLMSG = POLLMSG,
        LPOLLRDHUP = POLLRDHUP,
 #elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__) || defined(__APPLE__))
This page took 0.044105 seconds and 4 git commands to generate.