Kaydet (Commit) 2dfe34ce authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

saldllapi.h is really not included outside of sal itself

furthermore sal/config.h is already included by sal/types.h
so no need to include it twice

Change-Id: Id84122eb102eececc1001ea4a56c556ff775defa
üst 3d654071
......@@ -113,7 +113,6 @@ $(eval $(call gb_Package_add_file,sal_inc,inc/sal/log.hxx,sal/log.hxx))
$(eval $(call gb_Package_add_file,sal_inc,inc/sal/macros.h,sal/macros.h))
$(eval $(call gb_Package_add_file,sal_inc,inc/sal/main.h,sal/main.h))
$(eval $(call gb_Package_add_file,sal_inc,inc/sal/mathconf.h,sal/mathconf.h))
$(eval $(call gb_Package_add_file,sal_inc,inc/sal/saldllapi.h,sal/saldllapi.h))
$(eval $(call gb_Package_add_file,sal_inc,inc/sal/types.h,sal/types.h))
$(eval $(call gb_Package_add_file,sal_inc,inc/sal/detail/log.h,sal/detail/log.h))
$(eval $(call gb_Package_add_file,sal_inc,inc/systools/win32/comptr.hxx,systools/win32/comptr.hxx))
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef INCLUDED_SALDLLAPI_H
#define INCLUDED_SALDLLAPI_H
#include "sal/types.h"
#if defined(SAL_DLLIMPLEMENTATION)
#define SAL_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define SAL_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif /* INCLUDED_SALDLLAPI_H */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -300,7 +300,11 @@ typedef void * sal_Handle;
#define SAL_EXCEPTION_DLLPRIVATE
#endif
#include <sal/saldllapi.h>
#if defined(SAL_DLLIMPLEMENTATION)
#define SAL_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define SAL_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
/** Use this as markup for functions and methods whose return value must be
checked.
......
......@@ -29,9 +29,6 @@
#ifndef INCLUDED_SAL_TEXTENC_CONVERTER_HXX
#define INCLUDED_SAL_TEXTENC_CONVERTER_HXX
#include "sal/config.h"
#include "sal/saldllapi.h"
#include "sal/types.h"
// Internal, non-stable ABI
......
......@@ -30,9 +30,6 @@
#ifndef INCLUDED_SAL_TEXTENC_CONVERTSIMPLE_HXX
#define INCLUDED_SAL_TEXTENC_CONVERTSIMPLE_HXX
#include "sal/config.h"
#include "sal/saldllapi.h"
#include "sal/types.h"
// Internal, non-stable ABI
......
......@@ -30,9 +30,6 @@
#ifndef INCLUDED_SAL_TEXTENC_HANDLEUNDEFINEDUNICODETOTEXTCHAR_HXX
#define INCLUDED_SAL_TEXTENC_HANDLEUNDEFINEDUNICODETOTEXTCHAR_HXX
#include "sal/config.h"
#include "sal/saldllapi.h"
#include "sal/types.h"
// Internal, non-stable ABI
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment