FIX 2 errors on PPC_DARWIN #1172
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FIX 2 errors on PPC_DARWIN
1)FIX error on PPC_DARWIN by adding M3_BOOL_H_INCLUDED
#995 (comment)
= =
M3CC.c:9: error: redefinition of typedef ‘BOOL’
m3core.h:46: error: previous declaration of ‘BOOL’ was here
make: *** [M3CC.o] Error 1
= =
a-la
m3-sys\m3gdb\gdb\gdb\m3-bool.h
= =
#ifndef M3_BOOL_H_INCLUDED
#define M3_BOOL_H_INCLUDED
typedef int BOOL;
#define TRUE 1
#define FALSE 0
#endif
= =
2)FIX error on PPC_DARWIN by adding M3_USOCKET__SOCKLEN_T_H_INCLUDED
#995 (comment)
= =
In file included from CerrnoC.c:6:
m3core.h:721: error: redefinition of typedef ‘Usocket__socklen_t’
m3core.h:698: error: previous declaration of ‘Usocket__socklen_t’ was here
make: *** [CerrnoC.o] Error 1
= =
by preprocessor var M3_USOCKET__SOCKLEN_T_H_INCLUDED :
#ifndef M3_USOCKET__SOCKLEN_T_H_INCLUDED
#define M3_USOCKET__SOCKLEN_T_H_INCLUDED
typedef m3_socklen_t Usocket__socklen_t;
#endif