Advertisement
Guest User

Untitled

a guest
May 28th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. diff --git a/chip_cmp.c b/chip_cmp.c
  2. index 7845279..b9e541b 100644
  3. --- a/chip_cmp.c
  4. +++ b/chip_cmp.c
  5. @@ -1,4 +1,4 @@
  6. -#include <malloc.h>
  7. +#include <malloc/malloc.h>
  8. #include <memory.h>
  9. #include <stdio.h>
  10. #include "stdbool.h"
  11. diff --git a/chip_srom.c b/chip_srom.c
  12. index 49b7004..533270a 100644
  13. --- a/chip_srom.c
  14. +++ b/chip_srom.c
  15. @@ -1,6 +1,6 @@
  16. // TODO: Check sample end < sample start
  17.  
  18. -#include <malloc.h>
  19. +#include <malloc/malloc.h>
  20. #include <memory.h>
  21. #include <stdio.h>
  22.  
  23. diff --git a/chip_strp.c b/chip_strp.c
  24. index 087898f..f29843f 100644
  25. --- a/chip_strp.c
  26. +++ b/chip_strp.c
  27. @@ -1,4 +1,4 @@
  28. -#include <malloc.h>
  29. +#include <malloc/malloc.h>
  30. #include <memory.h>
  31. #include <stdio.h>
  32. #include "stdbool.h"
  33. diff --git a/makefile b/makefile
  34. index b210332..816e477 100644
  35. --- a/makefile
  36. +++ b/makefile
  37. @@ -177,7 +177,7 @@ VGMMERGE_OBJS = \
  38. vgmmerge: $(VGMMERGE_OBJS)
  39. $(CC) $^ -lm -Wl,-lz -o $@
  40.  
  41. -$(OBJ)/%.o: $(SRC)/%.c
  42. +$(OBJ)/%.o: $(SRC)/%.c $(OBJ)
  43. $(CC) $(CCFLAGS) $(MAINFLAGS) -c $< -o $@
  44.  
  45. $(OBJ):
  46. diff --git a/vgm_trim.c b/vgm_trim.c
  47. index 5d89f74..97e94d4 100644
  48. --- a/vgm_trim.c
  49. +++ b/vgm_trim.c
  50. @@ -55,7 +55,7 @@ int main(int argc, char* argv[])
  51. Opts = 0x00;
  52. if (argc > argbase && argv[argbase][0] == '-')
  53. {
  54. - if (! _stricmp(argv[argbase] + 1, "state"))
  55. + if (! strcasecmp(argv[argbase] + 1, "state"))
  56. {
  57. Opts |= 0x01;
  58. argbase ++;
  59. diff --git a/vgmlpfnd.c b/vgmlpfnd.c
  60. index 2a0767e..1556f85 100644
  61. --- a/vgmlpfnd.c
  62. +++ b/vgmlpfnd.c
  63. @@ -72,7 +72,7 @@ int main(int argc, char* argv[])
  64. argbase = 1;
  65. if (argc >= argbase + 0x01)
  66. {
  67. - if (! _stricmp(argv[argbase + 0x00], "-silent"))
  68. + if (! strcasecmp(argv[argbase + 0x00], "-silent"))
  69. {
  70. SilentMode = true;
  71. argbase ++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement