only define this stuff when building libgphoto2 itself,

it will break external users in C++ or WIn32.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11219 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2008-07-13 20:10:13 +00:00
parent 605456f420
commit 3d45c35d0c

View File

@@ -2,6 +2,8 @@
#ifndef __GPHOTO2_PORT_PORTABILITY_H__
#define __GPHOTO2_PORT_PORTABILITY_H__
#ifdef _GPHOTO2_INTERNAL_CODE
#if defined(WIN32) && !defined(__WINESRC__)
/************************************************************************
@@ -214,6 +216,7 @@ int gp_system_is_dir (const char *dirname);
/************************************************************************
* End platform independent portability functions
************************************************************************/
#endif /* _GPHOTO2_INTERNAL_CODE */
#endif /* ifndef __GPHOTO2_PORT_PORTABILITY_H__ */
/* end of file */