fakes.c outside of kdecore?

Jarosław Staniek js at iidea.pl
Mon Oct 24 00:04:11 CEST 2005


In case of win32 target, kdefakes (or some functions from it) could go to 
kdewin32 library (previously, in KDElibs3, these functions were in fact 
defined in kdewin32).

Reason 1:
Things like setenv()/unsetenv() are used not only in kdecore.

Radon 2:
for example, config-lowlevel.h contains this:

#ifdef __cplusplus
extern "C" {
#endif
int setenv (const char *, const char *, int);
//^^^^^^^^ <--error, no KDECORE_EXPORT here....
#ifdef __cplusplus
}
#endif



I am not sure where to move fakes.c in case of other targets (maybe moving is 
not needed for other targets?)

Comments?

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska
  Kexi Developer:
      http://www.kexi-project.org | http://koffice.org/kexi
  KDE3, KDE4 libraries for developing MS Windows applications:
      http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32


More information about the Kde-buildsystem mailing list