diff options
author | Johannes Schickel | 2009-12-10 21:40:38 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-12-10 21:40:38 +0000 |
commit | 6b44a09a528ae219e6b3bf4d316a72ca067a7c9c (patch) | |
tree | ff4441fc87e5926f902596f230baff5c0bc3586c /graphics/font.h | |
parent | 9e04ca3633d898972f87c06c50195593ded4bf0a (diff) | |
download | scummvm-rg350-6b44a09a528ae219e6b3bf4d316a72ca067a7c9c.tar.gz scummvm-rg350-6b44a09a528ae219e6b3bf4d316a72ca067a7c9c.tar.bz2 scummvm-rg350-6b44a09a528ae219e6b3bf4d316a72ca067a7c9c.zip |
Hopefully fixing linking on MSVC:
svn-id: r46329
Diffstat (limited to 'graphics/font.h')
-rw-r--r-- | graphics/font.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/font.h b/graphics/font.h index 5044e96af3..e1c052c9e1 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -146,8 +146,11 @@ public: n = new NewFont(desc); \ } +#define FORWARD_DECLARE_FONT(n) \ + extern const NewFont *n; \ + extern void create_##n(); + #define INIT_FONT(n) \ - extern void create_##n(); \ create_##n(); } // End of namespace Graphics |