Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sanket Bhukan
purr-data
Commits
abeb7692
Commit
abeb7692
authored
9 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
only use execinfo.h for linux
parent
681e32e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pd/src/s_inter.c
+5
-1
5 additions, 1 deletion
pd/src/s_inter.c
with
5 additions
and
1 deletion
pd/src/s_inter.c
+
5
−
1
View file @
abeb7692
...
@@ -84,7 +84,11 @@ typedef int socklen_t;
...
@@ -84,7 +84,11 @@ typedef int socklen_t;
static
int
stderr_isatty
;
static
int
stderr_isatty
;
/* I don't see any other systems where this header (and backtrace) are
available. */
#ifdef __linux__
#include
<execinfo.h>
#include
<execinfo.h>
#endif
typedef
struct
_fdpoll
typedef
struct
_fdpoll
{
{
...
@@ -653,7 +657,7 @@ static void sys_trytogetmoreguibuf(int newsize)
...
@@ -653,7 +657,7 @@ static void sys_trytogetmoreguibuf(int newsize)
}
}
void
blargh
(
void
)
{
void
blargh
(
void
)
{
#ifdef
MACOSX
#if
n
def
__linux__
fprintf
(
stderr
,
"unhandled exception
\n
"
);
fprintf
(
stderr
,
"unhandled exception
\n
"
);
#else
#else
int
i
;
int
i
;
...
...
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