From patchwork Wed Sep 30 23:15:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hefty, Sean" X-Patchwork-Id: 50788 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8UNFvKV014886 for ; Wed, 30 Sep 2009 23:15:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754548AbZI3XPw (ORCPT ); Wed, 30 Sep 2009 19:15:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754627AbZI3XPw (ORCPT ); Wed, 30 Sep 2009 19:15:52 -0400 Received: from mga01.intel.com ([192.55.52.88]:51937 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754548AbZI3XPw (ORCPT ); Wed, 30 Sep 2009 19:15:52 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 30 Sep 2009 16:10:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,482,1249282800"; d="scan'208";a="498637931" Received: from mshefty-mobl2.amr.corp.intel.com (HELO msheftyMOBL2) ([10.24.91.232]) by fmsmga002.fm.intel.com with ESMTP; 30 Sep 2009 16:07:53 -0700 From: "Sean Hefty" To: "Hefty, Sean" , "linux-rdma" , "Davis, Arlin R" References: Subject: [PATCH 4/4] dapl/dtestx: add definition for getpid Date: Wed, 30 Sep 2009 16:15:56 -0700 Message-ID: <6C197864FC9E4FC6A30D62E8D6255ACB@amr.corp.intel.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpCI1FOzr31gWWuRKua65YShGUa7wAAIsDQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/test/dtest/dtestcm.c b/test/dtest/dtestcm.c index d1e5712..cb2f262 100644 --- a/test/dtest/dtestcm.c +++ b/test/dtest/dtestcm.c @@ -49,6 +49,7 @@ #include #include "..\..\..\..\etc\user\getopt.c" +#define getpid() ((int)GetCurrentProcessId()) #define F64x "%I64x" #define F64d "%I64d" diff --git a/test/dtest/dtestx.c b/test/dtest/dtestx.c index 369d58b..6e078ec 100755 --- a/test/dtest/dtestx.c +++ b/test/dtest/dtestx.c @@ -44,6 +44,7 @@ #include "..\..\..\..\etc\user\getopt.c" #define __BYTE_ORDER __LITTLE_ENDIAN +#define getpid() ((int)GetCurrentProcessId()) #define F64x "%I64x" #define F64u "%I64u" #define DAPL_PROVIDER "ibnic0v2"