Permalink
Browse files

Add solaris support

This commit enables the compilation of the launcher on OpenIndiana (~Solaris) with
Solaris's own compilers (unpatched Studio 12.3's cc/CC)

Changed one .h file that gave warnings about superfluous ";" at the end of
four lines - it's only a cosmetic change; cc/CC is more picky than gcc.

Closes #37
  • Loading branch information...
1 parent 469a587 commit 2241c15a817b050ad1d52d1200ee73d3d6cae41c @acetylsalicyl acetylsalicyl committed with jcfr Mar 19, 2013
Showing with 5 additions and 5 deletions.
  1. +4 −4 Base/ctkAppArguments.h
  2. +1 −1 Base/ctkAppLauncher.cpp
@@ -24,8 +24,8 @@ class ctkChar2DArray
QScopedPointer<ctkChar2DArrayPrivate> d_ptr;
private:
- Q_DECLARE_PRIVATE(ctkChar2DArray);
- Q_DISABLE_COPY(ctkChar2DArray);
+ Q_DECLARE_PRIVATE(ctkChar2DArray)
+ Q_DISABLE_COPY(ctkChar2DArray)
};
// --------------------------------------------------------------------------
@@ -82,8 +82,8 @@ class ctkAppArguments
QScopedPointer<ctkAppArgumentsPrivate> d_ptr;
private:
- Q_DECLARE_PRIVATE(ctkAppArguments);
- Q_DISABLE_COPY(ctkAppArguments);
+ Q_DECLARE_PRIVATE(ctkAppArguments)
+ Q_DISABLE_COPY(ctkAppArguments)
};
Q_DECLARE_OPERATORS_FOR_FLAGS(ctkAppArguments::ArgToFilterOptions);
@@ -769,7 +769,7 @@ bool ctkAppLauncher::generateExecWrapperScript()
QStringList output;
-#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
+#if defined(Q_OS_LINUX) || defined(Q_OS_MAC) || defined(Q_OS_SOLARIS)
output << "#! /usr/bin/env bash\n";
QString scriptComment("#");
QString exportCmd("declare -x");

0 comments on commit 2241c15

Please sign in to comment.