Use __attribute__ only with gcc

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@705 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
gombasg 2006-06-19 10:42:40 +00:00 committed by Adam Visegradi
parent cc288934a8
commit f8d85ebbff
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ typedef enum {
* Function prototypes
*/
#ifndef __GNUC__
#define __attribute__(x)
#endif
/* Determines the maximum allowed message length. */
int DC_getMaxMessageSize(void);