]> git.saurik.com Git - wxWidgets.git/blame - src/mac/utilsexc.cpp
corrected access to NULL parameters in wxGetOsVersion
[wxWidgets.git] / src / mac / utilsexc.cpp
CommitLineData
e9576ca5
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: utilsexec.cpp
3// Purpose: Execution-related utilities
4// Author: AUTHOR
5// Modified by:
6// Created: ??/??/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation
14#endif
15
16#include "wx/utils.h"
f5c6eb5c 17#ifdef __DARWIN__
5fde6fcc
GD
18#include "wx/unix/execute.h"
19#endif
e9576ca5
SC
20
21#include <stdio.h>
22#include <stdlib.h>
23#include <string.h>
24
f5c6eb5c 25#ifndef __DARWIN__
e9576ca5
SC
26#define wxEXECUTE_WIN_MESSAGE 10000
27
28long wxExecute(const wxString& command, bool sync, wxProcess *handler)
29{
30 // TODO
31 return 0;
32}
5fde6fcc
GD
33#endif
34
f5c6eb5c 35#ifdef __DARWIN__
5fde6fcc
GD
36int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
37{
38 wxFAIL_MSG(wxT("wxAddProcessCallback() function not ready"));
39 return 0;
40}
f5c6eb5c 41#endif