Explorar o código

close_code.h: #error if included without matching begin_code.h

Ozkan Sezer %!s(int64=7) %!d(string=hai) anos
pai
achega
ed694ec61f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      include/close_code.h

+ 3 - 0
include/close_code.h

@@ -26,6 +26,9 @@
  *  after you finish any function and structure declarations in your headers
  */
 
+#ifndef _begin_code_h
+#error close_code.h included without matching begin_code.h
+#endif
 #undef _begin_code_h
 
 /* Reset structure packing at previous byte alignment */