Other's library #define naming conflict

前端 未结 4 1920
忘掉有多难
忘掉有多难 2020-12-03 23:14

Hard to come up with a proper title for this problem. Anyway...

I\'m currently working on a GUI for my games in SDL. I\'ve finished the software drawing and was on m

4条回答
  •  萌比男神i
    2020-12-03 23:55

    Just #undef the symbols you don't want. But Make sure that you include windows.h and do this before you include SDL:

    #include 
    #undef DrawText
    
    #include 
    

提交回复
热议问题