Conditionally compile BitmapFont for Anroid

This commit is contained in:
abdelrahman committed 2023-10-01 15:52:03 +01:00
1 parent bfe6d48527
commit 2d5719fc64
4 files changed
+18

No files matched your search

+4
View File
@@ -1,6 +1,8 @@
#ifndef BITMAP_FONT_H
#define BITMAP_FONT_H
#ifdef __ANDROID__
#include "AssetManager.h"
#include "Renderer.h"
#include "SDL_pixels.h"
@@ -29,4 +31,6 @@ void destroy_bitmap_font(AssetManager *am, BitmapFont **font);
}
#endif // !__cplusplus
#endif // __ANDROID__
#endif // !BITMAP_FONT_H