FLTK logo

Re: [fltk.coredev] RFC: introduce public config header <FL/fl_config.h>

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: RFC: introduce public config header <FL/fl_config.h> Manolo Jan 04, 2022  
 
and, to continue in the same logic, I would also suggest to create a new file
FL/x11.H and to put there the X11-specific part of FL/platform.H which would
then contain, in essence :

#   include <FL/platform_types.h> // will bring in FL/fl_config.h
#  ifdef _WIN32
#    include "win32.H"
#  elif defined(__APPLE__)
#    include "mac.H"
#  elif defined(__ANDROID__)
#    include "android.H"
#  elif defined(FLTK_USE_X11)
#     include "x11.H"
#  endif

//
// cross-platform declarations
//
……

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/b28c2fd1-e034-489a-a376-4fb8f0b73271n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.