mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-17 02:54:17 +00:00
More fixes for Solaris, including fixes for the Sunpro compiler:
* avr.h: Remove stray semicolon. * configure.ac: Add check for predefined types uint_t and ulong_t. * confwin.c: Include "avrdude.h" on top to avoid empty translation unit warning. * ppwin.c: (Ditto.) * ser_win32.c: (Ditto.) * serbb_win32.c: (Ditto.) * jtagmkII.c (jtagmkII_recv): remove unreachable "return". * stk500.c (stk500_initialize): (Ditto.) * par.c: Test for both, __sun__ and __sun to see whether we are being compiled on Solaris. * ppi.c: (Ditto.) * stk500v2.c: Implement the DEBUG and DEBUGRECV macros in a way that is compatible with the ISO C99 standard. * usbtiny.c: Only typedef uint_t and ulong_t if they have not been found already by the autoconf checks. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@804 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -70,15 +70,15 @@
|
||||
#define STK500V2_XTAL 7372800U
|
||||
|
||||
#if 0
|
||||
#define DEBUG(format,args...) fprintf(stderr, format, ## args)
|
||||
#define DEBUG(...) fprintf(stderr, __VA_ARGS__)
|
||||
#else
|
||||
#define DEBUG(format,args...)
|
||||
#define DEBUG(...)
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
#define DEBUGRECV(format,args...) fprintf(stderr, format, ## args)
|
||||
#define DEBUGRECV(...) fprintf(stderr, __VA_ARGS__)
|
||||
#else
|
||||
#define DEBUGRECV(format,args...)
|
||||
#define DEBUGRECV(...)
|
||||
#endif
|
||||
|
||||
enum hvmode
|
||||
|
||||
Reference in New Issue
Block a user