~ubuntu-branches/ubuntu/oneiric/dds/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/dll.h-longlong

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2008-10-30 23:19:27 UTC
  • mfrom: (1.1.3 upstream) (7.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081030231927-yvf4f2tmezkl45av
Tags: 1.1.9+ddd105-2
Update watch file with correct dversionmangling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- a/dll.h
2
 
+++ b/dll.h
3
 
@@ -1,5 +1,12 @@
4
 
 /* portability-macros header prefix */
5
 
 
6
 
+/* MSC prefers a different spelling of "long long" */
7
 
+#if defined(_MSC_VER)
8
 
+/*#    define LONGLONG __int64*/
9
 
+#else
10
 
+#    define LONGLONG long long
11
 
+#endif
12
 
+
13
 
 /* Windows requires a __declspec(dllexport) tag, etc */
14
 
 #if defined(_WIN32)
15
 
 #    define DLLEXPORT __declspec(dllexport)