aboutsummaryrefslogtreecommitdiff
path: root/lib/substitute.h
diff options
context:
space:
mode:
authorYifan Lu2016-11-23 17:25:19 -0600
committerYifan Lu2016-11-23 17:25:19 -0600
commitbbfc407fd6cb437c9cc720de1f4dfbb9050dccd4 (patch)
treeba915dfbb0ed068adcc5c9574fdc2436d7a4845a /lib/substitute.h
parentFixed defination of CC_CBXZ collides with other bits (diff)
downloadsubstitute-bbfc407fd6cb437c9cc720de1f4dfbb9050dccd4.tar.gz
Changes to reflect older changes in merge
Diffstat (limited to 'lib/substitute.h')
-rw-r--r--lib/substitute.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/substitute.h b/lib/substitute.h
index 023a728..3f5b191 100644
--- a/lib/substitute.h
+++ b/lib/substitute.h
@@ -116,12 +116,12 @@ struct substitute_function_hook_record {
};
/* substitute_hook_functions options */
-#ifndef NO_PTHREADS
enum {
- SUBSTITUTE_NO_THREAD_SAFETY = 1,
- SUBSTITUTE_RELAXED = 2,
-};
+#ifndef NO_PTHREADS
+ SUBSTITUTE_NO_THREAD_SAFETY = 1,
#endif
+ SUBSTITUTE_RELAXED = 2,
+};
/* Patch the machine code of the specified functions to redirect them to the
* specified replacements.