Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PlaSim
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lunkeit, Frank
PlaSim
Commits
180e48af
Commit
180e48af
authored
Oct 17, 2014
by
Edilbert
Browse files
Options
Downloads
Patches
Plain Diff
make code compatible to OSX 10.10 Yosemite
parent
5a2fafbd
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.sh
+3
-1
3 additions, 1 deletion
configure.sh
most.c
+2
-1
2 additions, 1 deletion
most.c
with
5 additions
and
2 deletions
configure.sh
+
3
−
1
View file @
180e48af
...
...
@@ -68,7 +68,7 @@ fi
#check for C compiler
# put your favourite compiler in front if you have more than one
for
MOST_CC
in
i
cc gxlc gcc suncc cc NO_CC
for
MOST_CC
in
cc gxlc gcc suncc cc NO_CC
do
`
hash
2>/dev/null
$MOST_CC
`
if
[
$?
=
0
]
;
then
break
;
fi
...
...
@@ -188,6 +188,8 @@ elif [ -e "/usr/X11/lib" ] ; then
XLIB_PATH
=
"/usr/X11/lib"
elif
[
-e
"/usr/lib/X11"
]
;
then
XLIB_PATH
=
"/usr/lib/X11"
elif
[
-e
"/opt/X11"
]
;
then
XLIB_PATH
=
"/opt/X11"
fi
if
[
-n
${
XLIB_PATH
}
]
;
then
echo
"Found Xlib (X11) at:
$XLIB_PATH
"
...
...
This diff is collapsed.
Click to expand it.
most.c
+
2
−
1
View file @
180e48af
...
...
@@ -29,6 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include
<X11/Xutil.h>
#include
<X11/Xatom.h>
#include
<X11/keysym.h>
#include
<X11/XKBlib.h>
#define INT int
...
...
@@ -2853,7 +2854,7 @@ int PPPCompiled(void)
strcpy
(
fn
,
"puma/run/"
);
strcat
(
fn
,
exec_ppp
);
if
(
fp
=
fopen
(
fn
,
"r"
))
if
(
(
fp
=
fopen
(
fn
,
"r"
))
)
{
fclose
(
fp
);
return
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment