Ignore:
Timestamp:
May 12, 2013, 9:18:35 PM (6 years ago)
Author:
mk@…
Message:

abtransfers: use in patch conditional compile as it is now in abtransfers' SVN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/finance/abtransfers/files/patch-main.cpp.diff

    r105993 r105998  
    11Index: src/main.cpp
    22===================================================================
    3 --- src/main.cpp        (revision 389)
    4 +++ src/main.cpp        (working copy)
     3--- src/main.cpp        (revision 391)
     4+++ src/main.cpp        (revision 392)
    55@@ -71,6 +71,9 @@
    66        app.setOrganizationDomain("schmufu.dyndns.org");
    77        app.setApplicationName("AB-Transfers");
    88 
    9 +/***************************************************************************
    10 +  DISABLED SHARED MEMORY CREATION on Mac OSX
    11 + 
     9+       //On MacOS the QSharedMemory seems not to work as assumed.
     10+       //Therefore, as a fast workaround, we do not use the protection on MacOS.
     11+#if !defined(Q_OS_MAC)
    1212        //The program should be started only once!
    1313        //Therefore we create a sharedMemory and check if it already exists.
    1414        //As key for the sharedMemory the program name and the "Key-ID" from
    15 @@ -122,6 +125,8 @@
     15@@ -122,6 +125,7 @@
    1616                                   << "Error:" << myMem.errorString();
    1717                }
    1818        }
    19 +       
    20 +***************************************************************************/
     19+#endif // !defined(Q_OS_MAC)
    2120 
    2221 
Note: See TracChangeset for help on using the changeset viewer.