summaryrefslogtreecommitdiff
path: root/Build/source/texk/gregorio/gregorio-4.0.0-beta2/src/bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-4.0.0-beta2/src/bool.h')
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-beta2/src/bool.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-beta2/src/bool.h b/Build/source/texk/gregorio/gregorio-4.0.0-beta2/src/bool.h
new file mode 100644
index 00000000000..4ff2bc1386f
--- /dev/null
+++ b/Build/source/texk/gregorio/gregorio-4.0.0-beta2/src/bool.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2015 The Gregorio Project (see CONTRIBUTORS.md)
+ *
+ * This file is part of Gregorio.
+ *
+ * Gregorio is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Gregorio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Gregorio. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef BOOL_H
+#define BOOL_H
+
+#ifdef HAVE__BOOL
+#include <stdbool.h>
+#else
+typedef unsigned int bool;
+#define true 1
+#define false 0
+#endif
+
+#endif