Skip to content

Commit

Permalink
Merged revision(s) 22021 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Fix] mpg123: Fix DJGPP compatibility.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22023 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Oct 28, 2024
1 parent 6896727 commit ecd0a3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/mpg123/OpenMPT.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The following changes have been made:
* `ports/Xcode/config.h` has been modified to let the build system set
`OPT_*`.
* `ports/Xcode/config.h` has been modified to `#define HAVE_DIRENT_H`.
* `src/compat/compat.c` has been modified for DJGPP compatibility.
* Modifications are marked by `// OpenMPT` or `/* OpenMPT */`.
* Obviously, unnecessary folders and files have been removed.
* For building, premake is used to generate Visual Studio project files.
Expand Down
2 changes: 2 additions & 0 deletions include/mpg123/src/compat/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
*/

#include "config.h"
#if !defined(__DJGPP__) /* OpenMPT */
/* This source file does need _POSIX_SOURCE to get some sigaction. */
#define _POSIX_SOURCE
#endif /* OpenMPT */
#include "compat.h"

#ifdef _MSC_VER
Expand Down

0 comments on commit ecd0a3f

Please sign in to comment.