Fix bad headers when used from C++ (#43)
* Fix bad headers when used from C++
Tested compilation with both gcc (using the Makefile) and clang
(which is needed to compile the code into an enclave usable
with the Open Enclave SDK).
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
* Same fix for qcbor_decode.h
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
diff --git a/inc/qcbor/qcbor_encode.h b/inc/qcbor/qcbor_encode.h
index 83c8bbf..31fda52 100644
--- a/inc/qcbor/qcbor_encode.h
+++ b/inc/qcbor/qcbor_encode.h
@@ -42,7 +42,7 @@
#ifdef __cplusplus
extern "C" {
-#ifdef 0
+#if 0
} // Keep editor indention formatting happy
#endif
#endif