mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Add Cygwin to GCFB() (it is just like linux)
+ make stub give some clue
This commit is contained in:
committed by
Carlos R. Mafra
parent
28cbda550a
commit
ea4645bc09
@@ -41,6 +41,7 @@ dnl Platform-specific Makefile setup
|
||||
dnl ================================
|
||||
|
||||
case "${host}" in
|
||||
*-*-cygwin*)
|
||||
*-*-linux*)
|
||||
WM_OSDEP="linux"
|
||||
;;
|
||||
@@ -68,6 +69,7 @@ case "${host}" in
|
||||
;;
|
||||
*)
|
||||
WM_OSDEP="stub"
|
||||
CFLAGS="-DSTUB_HINT=\\\"${host}\\\""
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(WM_OSDEP)
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
|
||||
#include "wconfig.h"
|
||||
|
||||
#ifndef STUB_HINT
|
||||
#define STUB_HINT "(unknown)"
|
||||
#endif
|
||||
|
||||
Bool GetCommandForPid(int pid, char ***argv, int *argc)
|
||||
{
|
||||
*argv = NULL;
|
||||
@@ -11,7 +15,8 @@ Bool GetCommandForPid(int pid, char ***argv, int *argc)
|
||||
|
||||
if (!notified) {
|
||||
wwarning(_("%s is not implemented on this platform; "
|
||||
"notify wmaker-dev@lists.windowmaker.info"), __FUNCTION__);
|
||||
"tell wmaker-dev@lists.windowmaker.info you are running \"%s\""),
|
||||
__FUNCTION__, STUB_HINT);
|
||||
notified = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user