aboutsummaryrefslogtreecommitdiff
path: root/lib/libmd
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2014-11-25 03:50:31 +0000
committerEd Maste <emaste@FreeBSD.org>2014-11-25 03:50:31 +0000
commit294246bb7db1fb65230d917c401271c4b0e7c672 (patch)
tree8af8a3fb8f37ea396b60dd6e474d26d3b108cc1a /lib/libmd
parentf386f04f11679fd31731bce42208bb4363b79e75 (diff)
downloadsrc-294246bb7db1fb65230d917c401271c4b0e7c672.tar.gz
src-294246bb7db1fb65230d917c401271c4b0e7c672.zip
Revert r274772: it is not valid on MIPS
Reported by: sbruno
Notes
Notes: svn path=/head/; revision=275004
Diffstat (limited to 'lib/libmd')
-rw-r--r--lib/libmd/rmd160c.c2
-rw-r--r--lib/libmd/sha1c.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libmd/rmd160c.c b/lib/libmd/rmd160c.c
index 522b4c73d14f..e01f1e048a77 100644
--- a/lib/libmd/rmd160c.c
+++ b/lib/libmd/rmd160c.c
@@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
* The assembly-language code is not position-independent, so don't
* try to use it in a shared library.
*/
-#ifdef __PIC__
+#ifdef PIC
#undef RMD160_ASM
#endif
diff --git a/lib/libmd/sha1c.c b/lib/libmd/sha1c.c
index 2ca4618e2453..ba3278abfff4 100644
--- a/lib/libmd/sha1c.c
+++ b/lib/libmd/sha1c.c
@@ -78,7 +78,7 @@ __FBSDID("$FreeBSD$");
* The assembly-language code is not position-independent, so don't
* try to use it in a shared library.
*/
-#ifdef __PIC__
+#ifdef PIC
#undef SHA1_ASM
#endif