Browse Source

Don't change M_PI in application code, that's not an SDL symbol

Sam Lantinga 3 năm trước cách đây
mục cha
commit
9ff15e5382
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      build-scripts/SDL_migration.cocci

+ 0 - 5
build-scripts/SDL_migration.cocci

@@ -203,11 +203,6 @@ expression e;
 - SDL_HINT_VIDEODRIVER
 - SDL_HINT_VIDEODRIVER
 + SDL_HINT_VIDEO_DRIVER
 + SDL_HINT_VIDEO_DRIVER
 
 
-@@
-@@
-- M_PI
-+ SDL_PI_D
-
 // SDL_GetRevisionNumber() has been removed from the API, it always returned 0 in SDL 2.0.
 // SDL_GetRevisionNumber() has been removed from the API, it always returned 0 in SDL 2.0.
 @@
 @@
 @@
 @@