summaryrefslogtreecommitdiffstats
path: root/lib/libmd
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-11-25 03:50:31 +0000
committeremaste <emaste@FreeBSD.org>2014-11-25 03:50:31 +0000
commitfda27c9937b724b3c3e24266d58c4be4d1839e7f (patch)
tree8af8a3fb8f37ea396b60dd6e474d26d3b108cc1a /lib/libmd
parentd375864ce9ed7583a0bf26a4f4933a26c49ecd60 (diff)
downloadFreeBSD-src-fda27c9937b724b3c3e24266d58c4be4d1839e7f.zip
FreeBSD-src-fda27c9937b724b3c3e24266d58c4be4d1839e7f.tar.gz
Revert r274772: it is not valid on MIPS
Reported by: sbruno
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 522b4c7..e01f1e0 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 2ca4618e..ba3278a 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
OpenPOWER on IntegriCloud