Backport a few warning squelches from sdl-2.0 branch

https://sourceforge.net/p/tuxpaint/tuxpaint/ci/dfba73d327df49cbea16207ab25c11991be2c0c7/
This commit is contained in:
Bill Kendrick 2022-05-19 01:05:19 -07:00
parent a6f5449ce4
commit c8db730c4f
2 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,7 @@
/*
fonts.h
Copyright (c) 2009-2017
Copyright (c) 2009-2022
http://www.tuxpaint.org/
This program is free software; you can redistribute it and/or modify
@ -65,9 +65,13 @@
#define SDL_mutex int
#define SDL_CreateMutex() 0 // creates in released state
#define SDL_DestroyMutex(lock)
#ifndef SDL_mutexP
#define SDL_mutexP(lock) // take lock
#endif
#ifndef SDL_mutexV
#define SDL_mutexV(lock) // release lock
#endif
#endif
#endif