summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-04-30 10:38:27 (GMT)
committerJason Evans <je@fb.com>2012-05-01 00:13:45 (GMT)
commit7cdea3973cab8640d1f44c7638ed5e30ed18be24 (patch)
tree151a5f1d72213a6c9a40adf5f3f2a5cf1aa229ea /include
parenta14bce85e885f83c96116cc5438ae52d740f3727 (diff)
downloadjemalloc-7cdea3973cab8640d1f44c7638ed5e30ed18be24.zip
jemalloc-7cdea3973cab8640d1f44c7638ed5e30ed18be24.tar.gz
jemalloc-7cdea3973cab8640d1f44c7638ed5e30ed18be24.tar.bz2
Few configure.ac adjustments
- Use the extensions autoconf finds for object and executable files. - Remove the sorev variable, and replace SOREV definition with sorev's. - Default to je_ prefix on win32.
Diffstat (limited to 'include')
-rw-r--r--include/jemalloc/internal/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jemalloc/internal/util.h b/include/jemalloc/internal/util.h
index 9661c7b..d84c7a9 100644
--- a/include/jemalloc/internal/util.h
+++ b/include/jemalloc/internal/util.h
@@ -161,9 +161,9 @@ get_errno(void)
{
#ifdef _WIN32
- return GetLastError();
+ return (GetLastError());
#else
- return errno;
+ return (errno);
#endif
}
#endif