Pārlūkot izejas kodu

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

Ozkan Sezer 7 gadi atpakaļ
vecāks
revīzija
ed694ec61f
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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
  *  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
 #undef _begin_code_h
 
 
 /* Reset structure packing at previous byte alignment */
 /* Reset structure packing at previous byte alignment */