From bd119c7663d1919274f1576d706e23fe2866017a Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 21 Jan 2014 23:18:08 +0100 Subject: [PATCH] smpi_global_size() is needed even when !SMPI_F2C. --- src/smpi/smpi_global.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index db76cd2a9a..7e446a9590 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2013. The SimGrid Team. +/* Copyright (c) 2007-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -160,6 +160,7 @@ int smpi_process_getarg(integer * index, char *dst, ftnlen len) } return 0; } +#endif int smpi_global_size(void) { @@ -172,7 +173,6 @@ int smpi_global_size(void) } return atoi(value); } -#endif smpi_process_data_t smpi_process_data(void) { -- 2.30.2