summaryrefslogtreecommitdiffstats
path: root/perl-install/c/smp-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c/smp-test.c')
-rw-r--r--perl-install/c/smp-test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/c/smp-test.c b/perl-install/c/smp-test.c
new file mode 100644
index 000000000..f644449b8
--- /dev/null
+++ b/perl-install/c/smp-test.c
@@ -0,0 +1,6 @@
+main() {
+ if (detectSMP())
+ printf("has smp\n");
+ else
+ printf("no smp\n");
+}