Why would somebody use an #if 1 C preprocessor directive?

前端 未结 9 2079
谎友^
谎友^ 2020-12-10 01:42

I am looking through some C source code and I don\'t understand the following part

#if 1

   typedef u         


        
9条回答
  •  情深已故
    2020-12-10 02:43

    It's another way of saying for #if true it was most likely a result of code that was previously checking for another symbol then refactored to always be true.

提交回复
热议问题