Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
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
Main
Synchronet
Commits
f46e7b13
Commit
f46e7b13
authored
13 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Remove _THREAD_SAFE and _REENTRANT defines for non-threaded builds.
parent
ca7e08b0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/build/Common.gmake
+1
-2
1 addition, 2 deletions
src/build/Common.gmake
with
1 addition
and
2 deletions
src/build/Common.gmake
+
1
−
2
View file @
f46e7b13
...
...
@@ -299,7 +299,6 @@ ifeq ($(os),linux) # Linux
endif
endif
MT_CFLAGS += -D_THREAD_SAFE -D_REENTRANT
CFLAGS += -D_THREAD_SAFE -D_REENTRANT -D__EXTENSIONS__
ifeq ($(os),freebsd) # FreeBSD
MT_CFLAGS += -DUSE_XP_SEMAPHORES
MT_LDFLAGS += -pthread
...
...
@@ -329,7 +328,7 @@ else
MT_CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
MT_CFLAGS += -DUSE_XP_SEMAPHORES
# This makes ctime_r() be the correct one.
CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
#
CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
else # Linux / Other UNIX
XP_SEM := 1
MT_CFLAGS += -DUSE_XP_SEMAPHORES
...
...
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