Changeset 21745 for branches/gcc-kmk/tools
- Timestamp:
- Oct 25, 2011, 8:41:13 PM (14 years ago)
- Location:
- branches/gcc-kmk/tools
- Files:
-
- 2 added
- 2 edited
-
Makefile.kmk (added)
-
wrc/Makefile.kmk (added)
-
wrc/newstruc.c (modified) (2 diffs)
-
wrc/wrc.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/tools/wrc/newstruc.c
r6110 r21745 744 744 /* FIXME: This relies in sizeof(DWORD) == sizeof(pointer_type) */ 745 745 if((DWORD)rtp & 1) 746 #if !defined(__IBMC__) 747 ((char *)rtp)++; 748 #else 749 rtp = (riff_tag_t*)((char*)rtp + 1); 750 #endif 746 rtp = (riff_tag_t*)((char*)rtp + 1); 751 747 } 752 748 } … … 859 855 /* FIXME: This relies in sizeof(DWORD) == sizeof(pointer_type) */ 860 856 if((DWORD)rtp & 1) 861 #if !defined(__IBMC__) 862 ((char *)rtp)++; 863 #else 864 rtp = (riff_tag_t*)((char*)rtp + 1); 865 #endif 857 rtp = (riff_tag_t*)((char*)rtp + 1); 866 858 } 867 859 -
branches/gcc-kmk/tools/wrc/wrc.c
r21589 r21745 261 261 resource_t *resource_top; /* The top of the parsed resources */ 262 262 263 #ifdef __EMX__ 264 int getopt (int argc, char **argv, const char *optstring); 265 #else 266 int getopt (int argc, char *const *argv, const char *optstring); 263 #ifndef __GNUC__ 264 int getopt(int argc, char *const *argv, const char *optstring); 267 265 #endif 268 266
Note:
See TracChangeset
for help on using the changeset viewer.
