Better define to detect MacOSX

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1953 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.4
Stéphane Fillod, F8CFE 2005-03-28 09:39:02 +00:00
rodzic 898cf3dae8
commit 6a65e3a330
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Interface - API header * Hamlib Interface - API header
* Copyright (c) 2000-2005 by Stephane Fillod and Frank Singleton * Copyright (c) 2000-2005 by Stephane Fillod and Frank Singleton
* *
* $Id: rig.h,v 1.102 2005-03-26 23:33:39 fillods Exp $ * $Id: rig.h,v 1.103 2005-03-28 09:39:02 fillods Exp $
* *
* This library is free software; you can redistribute it and/or modify * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -1250,7 +1250,7 @@ typedef struct {
} parm; /*!< Port parameter union */ } parm; /*!< Port parameter union */
} hamlib_port_t; } hamlib_port_t;
#if !defined(__MACOSX__) || !defined(__cplusplus) #if !defined(__MACOSX__) || !defined(__APPLE__) || !defined(__cplusplus)
typedef hamlib_port_t port_t; typedef hamlib_port_t port_t;
#endif #endif