~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/base/i18n.h

  • Committer: The Widelands Bunnybot
  • Date: 2025-05-20 08:31:37 UTC
  • Revision ID: bunnybot@widelands.org-20250520083137-h33kxbw6qworcn0r
Fixed linking problem under Windows for fprintf (CB #5102 / GH #6742)

Co-authored-by: Pavol Gono <pavol.gono@gmail.com>
Co-committed-by: Pavol Gono <pavol.gono@gmail.com>

(by bunnybot)
805918215551653dd27a7abdccfd235dc4aa0f92

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include "config.h"
33
33
 
34
34
// Prevent even more symbol clashes with libintl.h
 
35
#ifdef fprintf
 
36
#undef fprintf
 
37
#endif
35
38
#ifdef sprintf
36
39
#undef sprintf
37
40
#endif