as stated. Gatling was developed due to US Civil war, Maxim was used in British colonial wars. what kind of war(i.e. prolonged First Opium war? Crimean war? etc) could have brought forth an earlier development of such machine guns?
bonus points if they are developed without wars.