summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2014-03-23 21:59:46 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2014-03-24 12:06:49 +1100
commit006b8356d5159792211a2477a46a5ea832a3c0ae (patch)
treef349a6e0d34f28b7abe0a31c612d1e864064f1ba /examples
parent49d9d742e2f84295a0dca8ad9a88c94c9a57b95d (diff)
downloadflac-006b8356d5159792211a2477a46a5ea832a3c0ae.tar.gz
Fix all instances of '#if HAVE_CONFIG_H'.
Should be '#ifdef HAVE_CONFIG_H'. Closes: https://sourceforge.net/p/flac/bugs/410/
Diffstat (limited to 'examples')
-rw-r--r--examples/c/decode/file/main.c2
-rw-r--r--examples/c/encode/file/main.c2
-rw-r--r--examples/cpp/decode/file/main.cpp2
-rw-r--r--examples/cpp/encode/file/main.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/c/decode/file/main.c b/examples/c/decode/file/main.c
index 60e6cd91..4183a5fb 100644
--- a/examples/c/decode/file/main.c
+++ b/examples/c/decode/file/main.c
@@ -25,7 +25,7 @@
* http://flac.sourceforge.net/api/
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/examples/c/encode/file/main.c b/examples/c/encode/file/main.c
index dab77260..20d920dd 100644
--- a/examples/c/encode/file/main.c
+++ b/examples/c/encode/file/main.c
@@ -25,7 +25,7 @@
* http://flac.sourceforge.net/api/
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/examples/cpp/decode/file/main.cpp b/examples/cpp/decode/file/main.cpp
index 72a938b8..35042d3f 100644
--- a/examples/cpp/decode/file/main.cpp
+++ b/examples/cpp/decode/file/main.cpp
@@ -25,7 +25,7 @@
* http://flac.sourceforge.net/api/
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
diff --git a/examples/cpp/encode/file/main.cpp b/examples/cpp/encode/file/main.cpp
index 58c625b9..9344aab5 100644
--- a/examples/cpp/encode/file/main.cpp
+++ b/examples/cpp/encode/file/main.cpp
@@ -25,7 +25,7 @@
* http://flac.sourceforge.net/api/
*/
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif