#if UNITY_STANDALONE_LINUX runs in windows editor

The following code executes in unity’s editor (windows)

#if UNITY_STANDALONE_LINUX
	Debug.Log ( "ping" );
#endif

is it just me or a bug?

You have your deployment platform switched to Linux standalone.

to execute code when execution happens exclusively in Unity Editor use

    #if UNITY_EDITOR
        Debug.Log ( "ping" );
    #endif