Commit e01c21c6 authored by vaclav's avatar vaclav
Browse files

fix build with the switch CODE_IMPROVEMENTS deactivated

parent d248032c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -154,8 +154,6 @@

/* ################## Start DEVELOPMENT switches ######################### */

#define CODE_IMPROVEMENTS                               /* Small code improvements that do not change the functionality */

/* ################### Start BE switches ################################# */
/* only BE switches wrt selection floating point code */

@@ -167,6 +165,8 @@
#define FIX_RENDERER_STACK                              /* VA: issue 1322: reduction of renderers' buffers size */
#define FIX_1319_STACK_SBA_DECODER                      /* VA: issue 1319: Optimize the definition of buffer lengths in the SBA decoder */
#define JBM_MEMORY_OPT                                  /* VA: issue 916: optimization of RAM in the JBM decoder */
#define CODE_IMPROVEMENTS                               /* FhG: Small code improvements that do not change the functionality */


/* #################### End BE switches ################################## */

+0 −5
Original line number Diff line number Diff line
@@ -67,13 +67,8 @@ typedef enum _G192_ERROR
 *-----------------------------------------------------------------------*/

/* main handle */
#ifdef CODE_IMPROVEMENTS
struct G192_STRUCT;
typedef struct G192_STRUCT *G192_HANDLE;
#else
struct __G192;
typedef struct __G192 *G192_HANDLE;
#endif


/*-----------------------------------------------------------------------*
+2 −2
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ typedef struct __tinyWaveOutFmtChunk
#ifdef CODE_IMPROVEMENTS
} tinyWaveOutFmtChunk;
#else
} tinyWaveOutFmtChunk;
} __tinyWaveOutFmtChunk;
#endif

#ifdef CODE_IMPROVEMENTS
@@ -126,7 +126,7 @@ typedef struct tinyWaveOutDataChunk
#ifdef CODE_IMPROVEMENTS
typedef struct tinyWaveOutHandle
#else
typedef struct tinyWaveOutHandle
typedef struct __tinyWaveOutHandle
#endif
{
    FILE *theFile;