Changeset 2843 for trunk/src/kmk/kmkbuiltin.h
- Timestamp:
- Aug 28, 2016, 5:31:02 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin.h
r2736 r2843 5 5 6 6 /* 7 * Copyright (c) 2005-201 0knut st. osmundsen <bird-kBuild-spamx@anduin.net>7 * Copyright (c) 2005-2016 knut st. osmundsen <bird-kBuild-spamx@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 24 24 */ 25 25 26 #ifndef ___kmk_kmkbuiltin_h___ 27 #define ___kmk_kmkbuiltin_h___ 28 26 29 #ifdef _MSC_VER 27 30 # ifndef pid_t /* see config.h.win */ 28 # define pid_t int 31 # define pid_t intptr_t /* Note! sub_proc.c needs it to be pointer sized. */ 29 32 # endif 30 33 #else … … 32 35 #endif 33 36 34 int kmk_builtin_command(const char *pszCmd, char ***ppapszArgvToSpawn, pid_t *pPidSpawned);35 int kmk_builtin_command_parsed(int argc, char **argv, char ***ppapszArgvToSpawn, pid_t *pPidSpawned);37 int kmk_builtin_command(const char *pszCmd, struct child *pChild, char ***ppapszArgvToSpawn, pid_t *pPidSpawned); 38 int kmk_builtin_command_parsed(int argc, char **argv, struct child *pChild, char ***ppapszArgvToSpawn, pid_t *pPidSpawned); 36 39 37 40 extern int kmk_builtin_append(int argc, char **argv, char **envp); … … 56 59 #endif 57 60 ); 61 #ifdef KBUILD_OS_WINDOWS 62 extern int kmk_builtin_kSubmit(int argc, char **argv, char **envp, struct child *pChild, pid_t *pPidSpawned); 63 extern int kSubmitSubProcGetResult(intptr_t pvUser, int *prcExit, int *piSigNo); 64 extern int kSubmitSubProcKill(intptr_t pvUser, int iSignal); 65 #endif 58 66 extern int kmk_builtin_kDepIDB(int argc, char **argv, char **envp); 59 67 extern int kmk_builtin_kDepObj(int argc, char **argv, char **envp); … … 63 71 extern int kbuild_version(const char *); 64 72 73 #endif 74
Note:
See TracChangeset
for help on using the changeset viewer.