[pkg-opensc-commit] [libp11] 24/239: pack the structures only on Windows

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit e06c99c6bc5a48af91d179a9ef922869458e8285
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date:   Mon Aug 29 08:41:34 2005 +0000

    pack the structures only on Windows
---
 rsaref/cryptoki.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rsaref/cryptoki.h b/rsaref/cryptoki.h
index 0e38133..35a5730 100644
--- a/rsaref/cryptoki.h
+++ b/rsaref/cryptoki.h
@@ -23,7 +23,9 @@
 #ifndef ___CRYPTOKI_H_INC___
 #define ___CRYPTOKI_H_INC___
 
+#ifdef WIN32
 #pragma pack(push, cryptoki, 1)
+#endif
 
 #ifndef _WIN32
 #define CK_IMPORT_SPEC
@@ -70,6 +72,8 @@
 
 #include "pkcs11.h"
 
+#ifdef WIN32
 #pragma pack(pop, cryptoki)
+#endif
 
 #endif /* ___CRYPTOKI_H_INC___ */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list