Skip to content

Commit

Permalink
Made GDI compilation work again
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed Jan 26, 2016
1 parent 6694780 commit 034a4f3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/drivers/GDI/Fl_GDI_Graphics_Driver.h
Expand Up @@ -22,8 +22,8 @@
\brief Definition of MSWindows GDI graphics driver.
*/

#ifndef FL_CFG_GFX_GDI_H
#define FL_CFG_GFX_GDI_H
#ifndef FL_GDI_GRAPHICS_DRIVER_H
#define FL_GDI_GRAPHICS_DRIVER_H

#include <FL/Fl_Device.H>

Expand Down Expand Up @@ -109,7 +109,7 @@ class FL_EXPORT Fl_GDI_Graphics_Driver : public Fl_Graphics_Driver {
};


#endif // FL_CFG_GFX_GDI_H
#endif // FL_GDI_GRAPHICS_DRIVER_H

//
// End of "$Id$".
Expand Down
1 change: 1 addition & 0 deletions src/fl_color.cxx
Expand Up @@ -23,6 +23,7 @@

// Implementation of fl_color(i), fl_color(r,g,b).

#include <FL/Fl_Device.H>
#include <config.h>
#include "config_lib.h"

Expand Down
2 changes: 1 addition & 1 deletion src/fl_line_style.cxx
Expand Up @@ -50,7 +50,7 @@ int fl_line_width_ = 0;

#ifdef FL_CFG_GFX_GDI

# include "drivers/GDI/Fl_GDI_Graphics_Driver_style.cxx"
# include "drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx"

#endif

Expand Down
6 changes: 4 additions & 2 deletions src/fl_set_fonts.cxx
Expand Up @@ -23,9 +23,11 @@
#include <stdlib.h>

#ifdef WIN32
# include "fl_set_fonts_win32.cxx"
//# include "fl_set_fonts_win32.cxx"
// now included for fl_font.cxx, but will be its own source code module in drivers/Xlib/Fl_Xlib_Graphics_Driver_font..."
#elif defined(__APPLE__)
# include "fl_set_fonts_mac.cxx"
//# include "fl_set_fonts_mac.cxx"
// now included for fl_font.cxx, but will be its own source code module in drivers/Xlib/Fl_Xlib_Graphics_Driver_font..."
#elif USE_XFT
//# include "fl_set_fonts_xft.cxx"
// now included for fl_font.cxx, but will be its own source code module in drivers/Xlib/Fl_Xlib_Graphics_Driver_font..."
Expand Down

0 comments on commit 034a4f3

Please sign in to comment.