patches/wildmidi-01-solaris.diff
author trisk
Thu, 17 Sep 2009 23:37:46 +0000
changeset 2176 65fca22d82a7
parent 1564 1f65da35a54b
child 3079 c5d5fc0dff69
permissions -rw-r--r--
2009-09-17 Albert Lee <[email protected]> * patches/wildmidi-01-solaris.diff: Remove old Studio fix * patches/wildmidi-02-sunstudio.diff: Fix additional build system issues
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1564
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     1
--- wildmidi-0.2.2.orig/src/wildmidi.c	2004-01-28 13:13:46.000000000 -0500
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     2
+++ wildmidi-0.2.2/src/wildmidi.c	2008-12-11 02:39:52.831957387 -0500
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     3
@@ -63,7 +63,11 @@
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     4
 #include "wildmidi_lib.h"
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     5
 
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     6
 #ifndef FNONBLOCK
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     7
-#define FNONBLOCK _FNONBLOCK
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     8
+#define FNONBLOCK O_NONBLOCK
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     9
+#endif
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    10
+
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    11
+#ifndef MAP_FILE
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    12
+#define MAP_FILE 0
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    13
 #endif
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    14
 
1f65da35a54b 2008-12/12 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    15